aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page/insert.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page/insert.php')
-rw-r--r--admin/page/insert.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/page/insert.php b/admin/page/insert.php
index 5d4339a..979dbd9 100644
--- a/admin/page/insert.php
+++ b/admin/page/insert.php
@@ -12,8 +12,7 @@ require '../../core/application.php';
$Attribute = new Page\Attribute();
-if(HTTP::issetPOST('id', 'user', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'insert')) {
- $Attribute->set('id', HTTP::POST('id') ? HTTP::POST('id') : FALSE);
+if(HTTP::issetPOST('user', 'slug', 'name', 'body', 'argv', 'time_insert', 'time_update', 'insert')) {
$Attribute->set('user', HTTP::POST('user'));
$Attribute->set('slug', HTTP::POST('slug') ? HTTP::POST('slug') : generateSlug(HTTP::POST('name')));
$Attribute->set('name', HTTP::POST('name') ? HTTP::POST('name') : NULL);