From ddceeb093b6cad9aae3f49e6618118a3277b0b07 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 9 Aug 2021 21:20:36 +0200 Subject: Pass entity template data to the update template --- admin/post/update.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/post/update.php') diff --git a/admin/post/update.php b/admin/post/update.php index 788d51f..5241d38 100644 --- a/admin/post/update.php +++ b/admin/post/update.php @@ -87,6 +87,7 @@ $FormTemplate->set('FORM', [ ]); $UpdateTemplate = Template\Factory::build('post/update'); +$UpdateTemplate->set('POST', generateItemTemplateData($Post)); $UpdateTemplate->set('HTML', $FormTemplate); $MainTemplate = Template\Factory::build('main'); -- cgit v1.2.3