diff options
Diffstat (limited to 'admin/post/delete.php')
-rw-r--r-- | admin/post/delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/post/delete.php b/admin/post/delete.php index 6da8a68..7d4ab10 100644 --- a/admin/post/delete.php +++ b/admin/post/delete.php @@ -19,7 +19,7 @@ try { if(HTTP::issetPOST(['token' => Application::getSecurityToken()], 'delete')) { try { - if($Attribute->databaseDELETE($Database)) { + if($Attribute->delete($Database)) { HTTP::redirect(Application::getAdminURL('post/')); } } catch(PDOException $Exception) { |