Browse Source

Critical bugs #198 can't add link

pull/255/head
Danang Probo Sayekti 10 years ago
parent
commit
b7d970a09a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      system/htmly.php

+ 1
- 0
system/htmly.php View File

@ -478,6 +478,7 @@ post('/add/link', function () {
$description = from($_REQUEST, 'description'); $description = from($_REQUEST, 'description');
$user = $_SESSION[config("site.url")]['user']; $user = $_SESSION[config("site.url")]['user'];
$draft = from($_REQUEST, 'draft'); $draft = from($_REQUEST, 'draft');
$category = from($_REQUEST, 'category');
if ($proper && !empty($title) && !empty($tag) && !empty($content) && !empty($link)) { if ($proper && !empty($title) && !empty($tag) && !empty($content) && !empty($link)) {
if (!empty($url)) { if (!empty($url)) {
add_link($title, $tag, $url, $content, $user, $description, $link, $draft, $category); add_link($title, $tag, $url, $content, $user, $description, $link, $draft, $category);


Loading…
Cancel
Save