// 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:
1 parent
f9485509a2
commit
fc2960e01f
1 file changed
+2
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user