From b7d970a09a0f1a81afadf0a56dc8902460549890 Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Sat, 29 Aug 2015 08:25:05 +0700 Subject: [PATCH] Critical bugs #198 can't add link --- system/htmly.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/htmly.php b/system/htmly.php index 47d288a..40b97c5 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -478,6 +478,7 @@ post('/add/link', function () { $description = from($_REQUEST, 'description'); $user = $_SESSION[config("site.url")]['user']; $draft = from($_REQUEST, 'draft'); + $category = from($_REQUEST, 'category'); if ($proper && !empty($title) && !empty($tag) && !empty($content) && !empty($link)) { if (!empty($url)) { add_link($title, $tag, $url, $content, $user, $description, $link, $draft, $category);