aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/post/update.php')
-rw-r--r--admin/post/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/post/update.php b/admin/post/update.php
index e68b3ec..b35c379 100644
--- a/admin/post/update.php
+++ b/admin/post/update.php
@@ -27,7 +27,7 @@ if(!$Post = $PostRepository->find(HTTP::GET('id'))) {
#===============================================================================
# Check for update request
#===============================================================================
-if(HTTP::issetPOST('category', 'user', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'update')) {
+if(HTTP::issetPOST('update')) {
$Post->set('category', HTTP::POST('category') ?: NULL);
$Post->set('user', HTTP::POST('user'));
$Post->set('slug', HTTP::POST('slug') ?: generateSlug(HTTP::POST('name')));