// Fixed unchecked variable

This commit is contained in:
Francois Gaillard committed 2012-03-02 12:27:54 +00:00
1 parent 2437c9f15f
commit 0f2584f768
1 file changed
+2 -1
+2 -1
View File
@@ -405,7 +405,8 @@ class blocktopmenu extends Module
private function makeMenu() 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(); $menu_items = $this->getMenuItems();
$id_lang = (int)$this->context->language->id; $id_lang = (int)$this->context->language->id;