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