From 97fb6455b586554d5847bc3df418b0951191b3d6 Mon Sep 17 00:00:00 2001 From: shreesh arora Date: Fri, 4 Feb 2022 11:06:56 +0530 Subject: [PATCH] Resolved smarty minify HTML issue --- config/smarty.config.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/smarty.config.inc.php b/config/smarty.config.inc.php index 6afcb59dd..7252ee7c5 100644 --- a/config/smarty.config.inc.php +++ b/config/smarty.config.inc.php @@ -154,7 +154,7 @@ function smarty_modifier_htmlentitiesUTF8($string) { return Tools::htmlentitiesUTF8($string); } -function smartyMinifyHTML($tpl_output, &$smarty) +function smartyMinifyHTML($tpl_output, $template) { $context = Context::getContext(); if (isset($context->controller) && in_array($context->controller->php_self, array('pdf-invoice', 'pdf-order-return', 'pdf-order-slip'))) { @@ -164,7 +164,7 @@ function smartyMinifyHTML($tpl_output, &$smarty) return $tpl_output; } -function smartyPackJSinHTML($tpl_output, &$smarty) +function smartyPackJSinHTML($tpl_output, $template) { $context = Context::getContext(); if (isset($context->controller) && in_array($context->controller->php_self, array('pdf-invoice', 'pdf-order-return', 'pdf-order-slip'))) {