diff --git a/administrator/modules/mod_latest/helper.php b/administrator/modules/mod_latest/helper.php index 251d243d3a6d0..a305076f7447c 100644 --- a/administrator/modules/mod_latest/helper.php +++ b/administrator/modules/mod_latest/helper.php @@ -100,6 +100,8 @@ public static function getList(&$params) } } + unset($item); + return $items; } diff --git a/administrator/modules/mod_menu/helper.php b/administrator/modules/mod_menu/helper.php index b9051cdb4c323..cb18a295aa28c 100644 --- a/administrator/modules/mod_menu/helper.php +++ b/administrator/modules/mod_menu/helper.php @@ -133,6 +133,7 @@ public static function getComponents($authCheck = true) } } + unset($component); $result = JArrayHelper::sortObjects($result, 'text', 1, false, true); return $result; diff --git a/administrator/modules/mod_menu/tmpl/default_enabled.php b/administrator/modules/mod_menu/tmpl/default_enabled.php index ea6f5714bc728..f25595904e006 100644 --- a/administrator/modules/mod_menu/tmpl/default_enabled.php +++ b/administrator/modules/mod_menu/tmpl/default_enabled.php @@ -11,10 +11,10 @@ /* @var $menu JAdminCSSMenu */ -$shownew = (boolean) $params->get('shownew', 1); +$shownew = (boolean) $params->get('shownew', 1); $showhelp = $params->get('showhelp', 1); -$user = JFactory::getUser(); -$lang = JFactory::getLanguage(); +$user = JFactory::getUser(); +$lang = JFactory::getLanguage(); /* * Site Submenu @@ -268,6 +268,8 @@ } } + unset($component); + $menu->getParent(); } diff --git a/administrator/modules/mod_popular/helper.php b/administrator/modules/mod_popular/helper.php index 41f071c4137c1..5888aeb76cda1 100644 --- a/administrator/modules/mod_popular/helper.php +++ b/administrator/modules/mod_popular/helper.php @@ -89,6 +89,8 @@ public static function getList(&$params) } } + unset($item); + return $items; } diff --git a/administrator/templates/hathor/html/com_menus/menus/default.php b/administrator/templates/hathor/html/com_menus/menus/default.php index 5792831afaedd..2dd1d54fa2bb7 100644 --- a/administrator/templates/hathor/html/com_menus/menus/default.php +++ b/administrator/templates/hathor/html/com_menus/menus/default.php @@ -132,6 +132,7 @@ diff --git a/administrator/templates/hathor/html/com_modules/module/edit_assignment.php b/administrator/templates/hathor/html/com_modules/module/edit_assignment.php index e7939c0655ecd..13fdbd4a76aa4 100644 --- a/administrator/templates/hathor/html/com_modules/module/edit_assignment.php +++ b/administrator/templates/hathor/html/com_modules/module/edit_assignment.php @@ -122,6 +122,7 @@ function validate(){
+ diff --git a/administrator/templates/hathor/html/com_templates/style/edit_assignment.php b/administrator/templates/hathor/html/com_templates/style/edit_assignment.php index 03c9b1aa4b580..97efb55b47c03 100644 --- a/administrator/templates/hathor/html/com_templates/style/edit_assignment.php +++ b/administrator/templates/hathor/html/com_templates/style/edit_assignment.php @@ -43,6 +43,7 @@ + diff --git a/administrator/templates/hathor/html/mod_menu/default_enabled.php b/administrator/templates/hathor/html/mod_menu/default_enabled.php index 93983355768bd..7f5636657172f 100644 --- a/administrator/templates/hathor/html/mod_menu/default_enabled.php +++ b/administrator/templates/hathor/html/mod_menu/default_enabled.php @@ -240,6 +240,8 @@ $menu->addChild(new JMenuNode($component->text, $component->link, $component->img)); } } + + unset($component); $menu->getParent(); }