diff options
Diffstat (limited to 'admin/page/update.php')
-rw-r--r-- | admin/page/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/page/update.php b/admin/page/update.php index 2ea5156..5ec5f73 100644 --- a/admin/page/update.php +++ b/admin/page/update.php @@ -26,7 +26,7 @@ if(!$Page = $PageRepository->find(HTTP::GET('id'))) { #=============================================================================== # Check for update request #=============================================================================== -if(HTTP::issetPOST('user', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'update')) { +if(HTTP::issetPOST('update')) { $Page->set('user', HTTP::POST('user')); $Page->set('slug', HTTP::POST('slug') ?: generateSlug(HTTP::POST('name'))); $Page->set('name', HTTP::POST('name') ?: NULL); |