diff --git a/src/Compile/BlockCompiler.php b/src/Compile/BlockCompiler.php index 63849c41..0807f077 100644 --- a/src/Compile/BlockCompiler.php +++ b/src/Compile/BlockCompiler.php @@ -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 ); }