[-] BO: Fix PSCFV-2994

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16648 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-08-01 14:43:44 +00:00
parent a30d9539a2
commit 7149dacb74
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -623,7 +623,7 @@ class OrderCore extends ObjectModel
&& (int)$product['id_warehouse'] > 0)
$product['current_stock'] = StockManagerFactory::getManager()->getProductPhysicalQuantities($product['product_id'], $product['product_attribute_id'], (int)$product['id_warehouse'], true);
else
$product['current_stock'] = '--';
$product['current_stock'] = StockAvailable::getQuantityAvailableByProduct($product['product_id'], $product['product_attribute_id'], (int)$this->id_shop);
}
/**