mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fix typo in template error message
This commit is contained in:
@@ -79,7 +79,7 @@ class Smarty_Internal_Compile_Private_Php extends Smarty_Internal_CompileBase
|
|||||||
} else {
|
} else {
|
||||||
$compiler->has_code = true;
|
$compiler->has_code = true;
|
||||||
if (!($compiler->smarty instanceof SmartyBC)) {
|
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, '#');
|
$ldel = preg_quote($compiler->smarty->left_delimiter, '#');
|
||||||
$rdel = preg_quote($compiler->smarty->right_delimiter, '#');
|
$rdel = preg_quote($compiler->smarty->right_delimiter, '#');
|
||||||
|
Reference in New Issue
Block a user