aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/insert.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/post/insert.php')
-rw-r--r--admin/post/insert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/post/insert.php b/admin/post/insert.php
index bad55ae..1a8cac7 100644
--- a/admin/post/insert.php
+++ b/admin/post/insert.php
@@ -25,7 +25,7 @@ $Post = new ORM\Entities\Post;
#===============================================================================
# Check for insert request
#===============================================================================
-if(HTTP::issetPOST('category', 'user', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'insert')) {
+if(HTTP::issetPOST('insert')) {
$Post->set('category', HTTP::POST('category') ?: NULL);
$Post->set('user', HTTP::POST('user'));
$Post->set('slug', HTTP::POST('slug') ?: generateSlug(HTTP::POST('name')));