// Improve performance and bug fixes

This commit is contained in:
rGaillard
2012-06-06 16:22:48 +00:00
parent e636665621
commit 99b22fbbb8
32 changed files with 97 additions and 66 deletions
+1 -1
View File
@@ -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)