[-] BO: fix the checkbox of shop activation on modules configuration

This commit is contained in:
Rémi Gaillard
2013-10-30 14:57:15 +01:00
parent 8953c55b7f
commit c56e8471c2
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -799,7 +799,7 @@ class ShopCore extends ObjectModel
{
if (Shop::getContext() == Shop::CONTEXT_SHOP)
$list = ($share) ? Shop::getSharedShops(Shop::getContextShopID(), $share) : array(Shop::getContextShopID());
else if (Shop::getContext() == Shop::CONTEXT_GROUP)
elseif (Shop::getContext() == Shop::CONTEXT_GROUP)
$list = Shop::getShops(true, Shop::getContextShopGroupID(), true);
else
$list = Shop::getShops(true, null, true);