aboutsummaryrefslogtreecommitdiffstats
path: root/include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-15 15:24:01 +0100
committerplegall <plg@piwigo.org>2015-12-15 15:24:01 +0100
commit3282ddbe2ea305edbb0b3ae84b6860c0d90ab072 (patch)
tree6ba00ec1ae9242e4784fd37eae776ad34de183a3 /include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php
parentacbdd756cd2a8772b4d0ebfc3ede86e71c6a495a (diff)
update Smarty to official version 3.1.28
Diffstat (limited to 'include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php')
-rw-r--r--include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php b/include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php
index 584f70b0e..3ca63a548 100644
--- a/include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php
+++ b/include/smarty/libs/sysplugins/smarty_internal_compile_private_php.php
@@ -79,7 +79,7 @@ class Smarty_Internal_Compile_Private_Php extends Smarty_Internal_CompileBase
} else {
$compiler->has_code = true;
if (!($compiler->smarty instanceof SmartyBC)) {
- $compiler->trigger_template_error('{php}[/php} tags not allowed. Use SmartyBC to enable them', null, true);
+ $compiler->trigger_template_error('{php}{/php} tags not allowed. Use SmartyBC to enable them', null, true);
}
$ldel = preg_quote($compiler->smarty->left_delimiter, '#');
$rdel = preg_quote($compiler->smarty->right_delimiter, '#');