From ab5d8d4e07bb3c8230d0285ef8902ef1979fce51 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 18 Oct 2018 02:39:34 +0200 Subject: Updating Smarty --- .../sysplugins/smarty_internal_compile_ldelim.php | 30 ++++++++++------------ 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'lib/smarty/sysplugins/smarty_internal_compile_ldelim.php') diff --git a/lib/smarty/sysplugins/smarty_internal_compile_ldelim.php b/lib/smarty/sysplugins/smarty_internal_compile_ldelim.php index 9906325..5493d4e 100644 --- a/lib/smarty/sysplugins/smarty_internal_compile_ldelim.php +++ b/lib/smarty/sysplugins/smarty_internal_compile_ldelim.php @@ -1,41 +1,37 @@ getAttributes($compiler, $args); - if ($_attr['nocache'] === true) { - $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno); + if ($_attr[ 'nocache' ] === true) { + $compiler->trigger_template_error('nocache option not allowed', null, true); } - // this tag does not return compiled code - $compiler->has_code = true; return $compiler->smarty->left_delimiter; } - } - -?> -- cgit v1.2.3