From d8f8e417f495994e8878c495660e85d11afb9992 Mon Sep 17 00:00:00 2001 From: "uwe.tews@googlemail.com" Date: Fri, 14 Jan 2011 20:40:42 +0000 Subject: [PATCH] - remove possible warning --- libs/sysplugins/smarty_internal_utility.php | 2 ++ 1 file changed, 2 insertions(+) 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) {