Made exception msgs exactly the same again, fixing some unit tests

This commit is contained in:
Simon Wisselink
2023-01-20 23:45:27 +01:00
parent 4ea8838d3b
commit f1f3874780

View File

@@ -72,7 +72,7 @@ class BlockCompiler extends Base {
if (!isset($compiler->_cache['blockNesting'])) {
$compiler->trigger_template_error(
"{\$smarty.block.child} used outside {block} tags ",
"'{\$smarty.block.child}' used outside {block} tags ",
$compiler->getParser()->lex->taglineno
);
}
@@ -97,7 +97,7 @@ class BlockCompiler extends Base {
if (!isset($compiler->_cache['blockNesting'])) {
$compiler->trigger_template_error(
"{\$smarty.block.parent} used outside {block} tags ",
"'{\$smarty.block.parent}' used outside {block} tags ",
$compiler->getParser()->lex->taglineno
);
}