diff --git a/CHANGELOG.txt b/CHANGELOG.txt new file mode 100644 index 0000000..58b6dc3 --- /dev/null +++ b/CHANGELOG.txt @@ -0,0 +1,4 @@ +2014-04-22 18:57:57 +0200 // Changelog updated +2014-03-24 11:43:29 +0100 / MO blocktopmenu : ps_versions_compliancy modified (1.5.6.1 => 1.6) +2014-03-24 11:04:46 +0100 / MO blocktopmenu : ps_versions_compliancy added +2014-03-20 14:28:17 +0100 Initial commit diff --git a/blocktopmenu.php b/blocktopmenu.php index 7513581..1947184 100644 --- a/blocktopmenu.php +++ b/blocktopmenu.php @@ -52,7 +52,7 @@ class Blocktopmenu extends Module { $this->name = 'blocktopmenu'; $this->tab = 'front_office_features'; - $this->version = 1.11; + $this->version = '1.12'; $this->author = 'PrestaShop'; $this->bootstrap = true; @@ -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); diff --git a/config.xml b/config.xml index 7d0222b..d89c6e0 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ blocktopmenu - +