diff --git a/blocktopmenu.php b/blocktopmenu.php index 7513581..8bd63d6 100644 --- a/blocktopmenu.php +++ b/blocktopmenu.php @@ -583,7 +583,8 @@ class Blocktopmenu extends Module $this->page_name = Dispatcher::getInstance()->getController(); 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', $this->_menu); $this->smarty->assign('this_path', $this->_path);