aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/page/delete.php2
-rw-r--r--admin/post/delete.php2
-rw-r--r--admin/user/delete.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/page/delete.php b/admin/page/delete.php
index 69ad242..e1c95f0 100644
--- a/admin/page/delete.php
+++ b/admin/page/delete.php
@@ -31,7 +31,7 @@ try {
# Build document
#===============================================================================
$FormTemplate = Template\Factory::build('page/form');
- $FormTemplate->set('HTML', $Page->getHTML());
+ $FormTemplate->set('HTML', parseEntityContent($Page));
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],
diff --git a/admin/post/delete.php b/admin/post/delete.php
index 7d4ab10..94b60fc 100644
--- a/admin/post/delete.php
+++ b/admin/post/delete.php
@@ -31,7 +31,7 @@ try {
# Build document
#===============================================================================
$FormTemplate = Template\Factory::build('post/form');
- $FormTemplate->set('HTML', $Post->getHTML());
+ $FormTemplate->set('HTML', parseEntityContent($Post));
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],
diff --git a/admin/user/delete.php b/admin/user/delete.php
index 5bc2aa5..6f0af6f 100644
--- a/admin/user/delete.php
+++ b/admin/user/delete.php
@@ -31,7 +31,7 @@ try {
# Build document
#===============================================================================
$FormTemplate = Template\Factory::build('user/form');
- $FormTemplate->set('HTML', $User->getHTML());
+ $FormTemplate->set('HTML', parseEntityContent($User));
$FormTemplate->set('FORM', [
'TYPE' => 'DELETE',
'INFO' => $messages ?? [],