// Some optimization #PI-121

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14723 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-04-18 09:57:19 +00:00
parent 2ae5cf56ab
commit ba4c5dbb18
8 changed files with 82 additions and 122 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ class StockAvailableCore extends ObjectModel
{
if ($shop_group->share_stock)
{
$shop_list = Shop::getIdShopsByIdShopGroup($shop_group->id);
$shop_list = Shop::getShops(false, $shop_group->id, true);
if (count($shop_list) > 0)
{