From e4e5418b463ce1f35339c2f7511cb4eda5f48668 Mon Sep 17 00:00:00 2001 From: "uwe.tews@googlemail.com" Date: Wed, 16 Feb 2011 14:20:23 +0000 Subject: [PATCH] -fixed typo in exception message of Smarty_Internal_Template --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_template.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index a2081487..11806b94 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== SVN trunk ===== +16/02/2011 +-fixed typo in exception message of Smarty_Internal_Template + 13/02/2011 - bugfix replace $smarty->triggerError() by exception in smarty_internal_resource_extends.php - removed obsolete {popup_init..} plugin from demo templates diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index 070fb840..e47488bf 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -938,7 +938,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { // load template resource $this->resource_object = null; if (!$this->parseResourceName ($this->template_resource, $this->resource_type, $this->resource_name, $this->resource_object)) { - throw new SmartyException ("Unable to parse resource name \"{$template_resource}\""); + throw new SmartyException ("Unable to parse resource name \"{$this->template_resource}\""); } return $this->resource_object; }