aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/post/delete.php')
-rw-r--r--admin/post/delete.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/post/delete.php b/admin/post/delete.php
index a5151ff..80f3a70 100644
--- a/admin/post/delete.php
+++ b/admin/post/delete.php
@@ -36,12 +36,7 @@ try {
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],
- 'DATA' => [
- 'ID' => $Attribute->get('id'),
- 'BODY' => $Attribute->get('body'),
- 'TIME_INSERT' => $Attribute->get('time_insert'),
- 'TIME_UPDATE' => $Attribute->get('time_update'),
- ],
+ 'DATA' => array_change_key_case($Attribute->getAll(), CASE_UPPER),
'TOKEN' => Application::getSecurityToken()
]);