mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54: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]);
|
||||
}
|
||||
$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) {
|
||||
|
Reference in New Issue
Block a user