From fa10e0945ecd45bfe78a2c8fb015a43092b4944b Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 10 Dec 2015 14:02:22 +0100 Subject: bug #385 update to smarty-3.1.28-dev (from Github) --- .../sysplugins/smarty_internal_compile_debug.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'include/smarty/libs/sysplugins/smarty_internal_compile_debug.php') diff --git a/include/smarty/libs/sysplugins/smarty_internal_compile_debug.php b/include/smarty/libs/sysplugins/smarty_internal_compile_debug.php index f50c7aee2..d73c81a10 100644 --- a/include/smarty/libs/sysplugins/smarty_internal_compile_debug.php +++ b/include/smarty/libs/sysplugins/smarty_internal_compile_debug.php @@ -1,28 +1,28 @@ tag_nocache = true; // display debug template - $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>"; + $_output = "display_debug(\$_smarty_tpl);\n"; + $_output .= "unset(\$_smarty_debug);\n?>"; return $_output; } - } - -?> \ No newline at end of file -- cgit v1.2.3