// Fix product stocks on multishop

This commit is contained in:
rGaillard
2012-05-18 14:33:09 +00:00
parent f81f83ca53
commit 2f195ce87f
@@ -3470,7 +3470,7 @@ class AdminProductsControllerCore extends AdminController
$show_quantities = true;
$shop_context = Shop::getContext();
$shop_group = $this->context->shop->getGroup();
$shop_group = new ShopGroup((int)Shop::getContextShopGroupID());
// if we are in all shops context, it's not possible to manage quantities at this level
if (Shop::isFeatureActive() && $shop_context == Shop::CONTEXT_ALL)
@@ -4002,4 +4002,4 @@ class AdminProductsControllerCore extends AdminController
}
}
}
}
}