// fix bug with missing $context->cart and $context->customer durring payment process

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13089 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-02-07 17:15:44 +00:00
parent 124eb9c676
commit 8dc8455e78
3 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -1479,7 +1479,7 @@ class CartCore extends ObjectModel
else
$key = (!$product['out_of_stock']) ? 'in_stock' : 'out_of_stock';
$product['carrier_list'] = Carrier::getAvailableCarrierList(new Product($product['id_product']), $id_warehouse, $product['id_address_delivery']);
$product['carrier_list'] = Carrier::getAvailableCarrierList(new Product($product['id_product']), $id_warehouse, $product['id_address_delivery'], null, $this);
if (empty($product['carrier_list']))
$product['carrier_list'] = array(0);