- bugfix registerFilter() or registerPlugin() on template objects did register to the main Smarty object if the register methods had been used on the main Smarty object before.

This commit is contained in:
uwe.tews@googlemail.com
2011-06-07 14:31:22 +00:00
parent b59c9b06f9
commit 0c552377cd
2 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
===== SVN trunk =====
07/06/2011
- bugfix registerFilter() or registerPlugin() on template objects did register to the main Smarty object if the register methods had been used on the main Smarty object before.
===== Smarty 3.0.8 =====
29/05/2011
- bugfix <?xml ...> in templates did break "cache modified check"

View File

@@ -724,8 +724,8 @@ class Smarty extends Smarty_Internal_Data {
// clear assigned tpl vars
$this->tpl_vars = array();
// clear objects for external methods
unset($this->register);
unset($this->filter);
unset($this->Register);
unset($this->Filter);
}