// Improve performance and bug fixes
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15882 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -561,7 +561,7 @@ class StockAvailableCore extends ObjectModel
|
||||
$id_shop = $context->shop->id;
|
||||
|
||||
// if we are in $shop_group context
|
||||
$shop_group = new ShopGroup((int)Shop::getContextShopGroupID());
|
||||
$shop_group = Shop::getContextShopGroup();
|
||||
|
||||
// if quantities are shared between shops of the group
|
||||
if ($shop_group->share_stock)
|
||||
|
||||
Reference in New Issue
Block a user