[-] 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
This commit is contained in:
fGaillard
2011-12-28 15:01:50 +00:00
parent d8422f1896
commit 13ec8072ff
+2 -2
View File
@@ -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);