// Fixed unchecked variable

This commit is contained in:
François Gaillard
2012-03-02 12:27:54 +00:00
parent 1b1690a892
commit bfdffcee89
+2 -1
View File
@@ -405,7 +405,8 @@ class blocktopmenu extends Module
private function makeMenu()
{
$this->page_name = $this->context->controller->php_self;
if (isset($this->context->controller->php_self))
$this->page_name = $this->context->controller->php_self;
$menu_items = $this->getMenuItems();
$id_lang = (int)$this->context->language->id;