diff options
| author | Jonathan Stoll <JonisoftGermany@users.noreply.github.com> | 2022-09-21 21:54:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-21 21:54:41 +0200 |
| commit | 45345e75ecaafe71fed31be30f30a9effad9e41e (patch) | |
| tree | dcff4bdd507a719c3433a49f576365c17caa5889 /libs | |
| parent | bf7d6b8bd852baf8f34ad058f682ac99dce54056 (diff) | |
| download | smarty-45345e75ecaafe71fed31be30f30a9effad9e41e.tar.gz smarty-45345e75ecaafe71fed31be30f30a9effad9e41e.tar.bz2 smarty-45345e75ecaafe71fed31be30f30a9effad9e41e.zip | |
Fix Variable Usage (#808)
Fix Variable Usage in Exception message when unable to load subtemplate
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/sysplugins/smarty_internal_method_mustcompile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sysplugins/smarty_internal_method_mustcompile.php b/libs/sysplugins/smarty_internal_method_mustcompile.php index 39318838..381346c8 100644 --- a/libs/sysplugins/smarty_internal_method_mustcompile.php +++ b/libs/sysplugins/smarty_internal_method_mustcompile.php @@ -32,7 +32,7 @@ class Smarty_Internal_Method_MustCompile { if (!$_template->source->exists) { if ($_template->_isSubTpl()) { - $parent_resource = " in '$_template->parent->template_resource}'"; + $parent_resource = " in '{$_template->parent->template_resource}'"; } else { $parent_resource = ''; } |
