From 132e151c24bb8ff5a79acf204d3d471eeecec5b0 Mon Sep 17 00:00:00 2001 From: matlam Date: Thu, 29 Jun 2017 01:37:55 +0200 Subject: [PATCH] fix popup for customizing of themes the change in commit 2017-05-24T11:11:56+07:00!heroe_soebekti@yahoo.co.id results in a PHP-warning because $content is unset and it creates invalid HTML because the content is echoed before the starting html-tag --- admin/modules/system/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/modules/system/theme.php b/admin/modules/system/theme.php index dd3dd300..0e0058d6 100644 --- a/admin/modules/system/theme.php +++ b/admin/modules/system/theme.php @@ -111,10 +111,10 @@ } // print out the form object - echo $form->printOut(); + $content = $form->printOut(); } else { - echo __('This theme not customizable'); + $content = __('This theme not customizable'); } require SB.'/admin/'.$sysconf['admin_template']['dir'].'/notemplate_page_tpl.php'; exit();