diff options
Diffstat (limited to 'admin/category/update.php')
-rw-r--r-- | admin/category/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/category/update.php b/admin/category/update.php index 7cee587..4791d79 100644 --- a/admin/category/update.php +++ b/admin/category/update.php @@ -25,7 +25,7 @@ if(!$Category = $CategoryRepository->find(HTTP::GET('id'))) { #=============================================================================== # Check for update request #=============================================================================== -if(HTTP::issetPOST('parent', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'update')) { +if(HTTP::issetPOST('update')) { $Category->set('slug', HTTP::POST('slug') ?: generateSlug(HTTP::POST('name'))); $Category->set('name', HTTP::POST('name') ?: NULL); $Category->set('body', HTTP::POST('body') ?: NULL); |