diff options
Diffstat (limited to 'admin/category/insert.php')
-rw-r--r-- | admin/category/insert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/category/insert.php b/admin/category/insert.php index f6f193e..773bb29 100644 --- a/admin/category/insert.php +++ b/admin/category/insert.php @@ -23,7 +23,7 @@ $Category = new ORM\Entities\Category; #=============================================================================== # Check for insert request #=============================================================================== -if(HTTP::issetPOST('parent', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'insert')) { +if(HTTP::issetPOST('insert')) { $Category->set('parent', HTTP::POST('parent') ?: NULL); $Category->set('slug', HTTP::POST('slug') ?: generateSlug(HTTP::POST('name'))); $Category->set('name', HTTP::POST('name') ?: NULL); |