- remove possible warning

This commit is contained in:
uwe.tews@googlemail.com
2011-01-14 20:40:42 +00:00
parent 9ef3c770ef
commit d8f8e417f4

View File

@@ -92,10 +92,12 @@ class Smarty_Internal_Utility {
{ {
unset($this->smarty->template_objects[$key]); unset($this->smarty->template_objects[$key]);
} }
$this->smarty->template_objects = array();
foreach ($_tpl->smarty->template_objects as $key => $d) foreach ($_tpl->smarty->template_objects as $key => $d)
{ {
unset($_tpl->smarty->template_objects[$key]); unset($_tpl->smarty->template_objects[$key]);
} }
$_tpl->smarty->template_objects = array();
unset($_tpl); unset($_tpl);
} }
catch (Exception $e) { catch (Exception $e) {