summaryrefslogtreecommitdiffstats
path: root/admin/page/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page/delete.php')
-rw-r--r--admin/page/delete.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/page/delete.php b/admin/page/delete.php
index de9ac21..890188e 100644
--- a/admin/page/delete.php
+++ b/admin/page/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()
]);