aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/insert.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/post/insert.php')
-rw-r--r--admin/post/insert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/post/insert.php b/admin/post/insert.php
index 6065c95..5b2ec52 100644
--- a/admin/post/insert.php
+++ b/admin/post/insert.php
@@ -24,7 +24,7 @@ if(HTTP::issetPOST('id', 'user', 'slug', 'name', 'body', 'argv', 'time_insert',
if(HTTP::issetPOST(['token' => Application::getSecurityToken()])) {
try {
- if($Attribute->databaseINSERT($Database)) {
+ if($Attribute->insert($Database)) {
HTTP::redirect(Application::getAdminURL('post/'));
}
} catch(PDOException $Exception) {