Skip to content

Commit

Permalink
Fix Variable Usage (#808)
Browse files Browse the repository at this point in the history
Fix Variable Usage in Exception message when unable to load subtemplate
  • Loading branch information
JonisoftGermany authored Sep 21, 2022
1 parent bf7d6b8 commit 45345e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/sysplugins/smarty_internal_method_mustcompile.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function mustCompile(Smarty_Internal_Template $_template)
{
if (!$_template->source->exists) {
if ($_template->_isSubTpl()) {
$parent_resource = " in '$_template->parent->template_resource}'";
$parent_resource = " in '{$_template->parent->template_resource}'";
} else {
$parent_resource = '';
}
Expand Down

0 comments on commit 45345e7

Please sign in to comment.