From b701eee796760c312718a28e22fcd16463397bd4 Mon Sep 17 00:00:00 2001 From: Francois Gaillard Date: Wed, 28 Dec 2011 15:01:50 +0000 Subject: [PATCH] [-] BO : #PSTEST-214 : BugFix : Canceled, problem without multishop --- modules/blocktopmenu/blocktopmenu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blocktopmenu/blocktopmenu.php b/modules/blocktopmenu/blocktopmenu.php index fede115a8..87d3c1636 100644 --- a/modules/blocktopmenu/blocktopmenu.php +++ b/modules/blocktopmenu/blocktopmenu.php @@ -326,14 +326,14 @@ class blocktopmenu extends Module { if (!Configuration::isOverridenByCurrentContext('MOD_BLOCKTOPMENU_ITEMS')) { - $items_shop = Configuration::get('MOD_BLOCKTOPMENU_ITEMS', NULL, (int)$this->context->shop->id_group_shop, (int)$this->context->shop->id); + $items_shop = Configuration::get('MOD_BLOCKTOPMENU_ITEMS'); } } if (!isset($items_shop)) $items_shop = ''; $items_shop = explode(',', $items_shop); - $items_global = Configuration::get('MOD_BLOCKTOPMENU_ITEMS', NULL, (int)$this->context->shop->id_group_shop, (int)$this->context->shop->id); + $items_global = Configuration::getGlobalValue('MOD_BLOCKTOPMENU_ITEMS'); $items_global = explode(',', $items_global); $items_global = array_diff($items_global, $items_shop);