-fixed typo in exception message of Smarty_Internal_Template

This commit is contained in:
uwe.tews@googlemail.com
2011-02-16 14:20:23 +00:00
parent 295c2ebd8e
commit e4e5418b46
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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;
}