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_rdelim.php | 26 ++++++++++------------ 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'include/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php') diff --git a/include/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php b/include/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php index 807c7e2b9..22b33eaa2 100644 --- a/include/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php +++ b/include/smarty/libs/sysplugins/smarty_internal_compile_rdelim.php @@ -1,41 +1,39 @@ getAttributes($compiler, $args); if ($_attr['nocache'] === true) { - $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno); + $compiler->trigger_template_error('nocache option not allowed', null, true); } // this tag does not return compiled code $compiler->has_code = true; + return $compiler->smarty->right_delimiter; } - } - -?> \ No newline at end of file -- cgit v1.2.3