diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php index 6c495225..63ffe5ea 100644 --- a/libs/sysplugins/smarty_internal_utility.php +++ b/libs/sysplugins/smarty_internal_utility.php @@ -92,10 +92,12 @@ class Smarty_Internal_Utility { { unset($this->smarty->template_objects[$key]); } + $this->smarty->template_objects = array(); foreach ($_tpl->smarty->template_objects as $key => $d) { unset($_tpl->smarty->template_objects[$key]); } + $_tpl->smarty->template_objects = array(); unset($_tpl); } catch (Exception $e) {