From 13ec8072ffbfc7c34739c64742e511141792d781 Mon Sep 17 00:00:00 2001 From: fGaillard Date: Wed, 28 Dec 2011 15:01:50 +0000 Subject: [PATCH] [-] BO : #PSTEST-214 : BugFix : Canceled, problem without multishop git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11855 b9a71923-0436-4b27-9f14-aed3839534dd --- 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);