diff options
| author | Uwe Tews <uwe.tews@googlemail.com> | 2015-08-06 01:19:11 +0200 |
|---|---|---|
| committer | Uwe Tews <uwe.tews@googlemail.com> | 2015-08-06 01:19:11 +0200 |
| commit | e1cc514a68028833e44baf4373d992f55400924b (patch) | |
| tree | c7a42d72bbe67239fe29ddd48fb8936eb5d1af72 /libs/sysplugins/smarty_internal_compile_rdelim.php | |
| parent | ca969fe663ebc8a702b6706718ed4ea94379799a (diff) | |
| download | smarty-e1cc514a68028833e44baf4373d992f55400924b.tar.gz smarty-e1cc514a68028833e44baf4373d992f55400924b.tar.bz2 smarty-e1cc514a68028833e44baf4373d992f55400924b.zip | |
- avoid possible circular object referances caused by parser/lexer objects
Diffstat (limited to 'libs/sysplugins/smarty_internal_compile_rdelim.php')
| -rw-r--r-- | libs/sysplugins/smarty_internal_compile_rdelim.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/sysplugins/smarty_internal_compile_rdelim.php b/libs/sysplugins/smarty_internal_compile_rdelim.php index dcff2ae4..22b33eaa 100644 --- a/libs/sysplugins/smarty_internal_compile_rdelim.php +++ b/libs/sysplugins/smarty_internal_compile_rdelim.php @@ -25,11 +25,11 @@ class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_CompileBase * * @return string compiled code */ - public function compile($args, $compiler) + public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler) { $_attr = $this->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; |
