aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/insert.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-19 00:36:30 +0200
committerThomas Lange <code@nerdmind.de>2021-06-19 00:36:30 +0200
commit84455052b4f2aa90f12e83a60acd896301512357 (patch)
treeddad05c0fe864eef1f7b331c65ce833f0aba2fd6 /admin/post/insert.php
parentdbf523c2771aecd8294cc48e0301876f5d2a7a94 (diff)
downloadblog-84455052b4f2aa90f12e83a60acd896301512357.tar.gz
blog-84455052b4f2aa90f12e83a60acd896301512357.tar.xz
blog-84455052b4f2aa90f12e83a60acd896301512357.zip
Rename CRUD methods of Attribute class
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) {