From 45345e75ecaafe71fed31be30f30a9effad9e41e Mon Sep 17 00:00:00 2001 From: Jonathan Stoll Date: Wed, 21 Sep 2022 21:54:41 +0200 Subject: [PATCH] Fix Variable Usage (#808) Fix Variable Usage in Exception message when unable to load subtemplate --- libs/sysplugins/smarty_internal_method_mustcompile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''; }