mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
- remove possible warning
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user