[-] MO : blocktopmenu - Correct multiple hookTop menu links duplicates #PSCSX-2057
This commit is contained in:
+2
-1
@@ -583,7 +583,8 @@ class Blocktopmenu extends Module
|
|||||||
$this->page_name = Dispatcher::getInstance()->getController();
|
$this->page_name = Dispatcher::getInstance()->getController();
|
||||||
if (!$this->isCached('blocktopmenu.tpl', $this->getCacheId()))
|
if (!$this->isCached('blocktopmenu.tpl', $this->getCacheId()))
|
||||||
{
|
{
|
||||||
$this->makeMenu();
|
if (Tools::isEmpty($this->_menu))
|
||||||
|
$this->makeMenu();
|
||||||
$this->smarty->assign('MENU_SEARCH', Configuration::get('MOD_BLOCKTOPMENU_SEARCH'));
|
$this->smarty->assign('MENU_SEARCH', Configuration::get('MOD_BLOCKTOPMENU_SEARCH'));
|
||||||
$this->smarty->assign('MENU', $this->_menu);
|
$this->smarty->assign('MENU', $this->_menu);
|
||||||
$this->smarty->assign('this_path', $this->_path);
|
$this->smarty->assign('this_path', $this->_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user