From 57fd94ddb1979cc5b4ea488513c280b1764f0e7d Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Wed, 6 Jan 2010 15:52:33 +0000 Subject: [PATCH] - fixed typo in smarty_internal_resource_registered --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_resource_registered.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index dcd869d8..cab2f7e6 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +01/06/2009 +- fixed typo in smarty_internal_resource_registered + 01/05/2009 - bugfix sha1() calculations at extends resource and some general improvments on sha1() handling diff --git a/libs/sysplugins/smarty_internal_resource_registered.php b/libs/sysplugins/smarty_internal_resource_registered.php index 39cc79a3..36a09cdc 100644 --- a/libs/sysplugins/smarty_internal_resource_registered.php +++ b/libs/sysplugins/smarty_internal_resource_registered.php @@ -109,7 +109,7 @@ class Smarty_Internal_Resource_Registered { if ($_template->templateUid == '') { $_template->getTemplateFilepath(); } - $_filepath = $_template->$templateUid; + $_filepath = $_template->templateUid; // if use_sub_dirs, break file into directories if ($_template->smarty->use_sub_dirs) { $_filepath = substr($_filepath, 0, 2) . DS