// Fixed unchecked variable
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13817 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user