// Problem with product return
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11566 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-4
@@ -1933,10 +1933,10 @@ class CartCore extends ObjectModel
|
||||
if (!isset($delivery_option[$id_address]))
|
||||
foreach ($options as $key => $option)
|
||||
if ($option['is_best_price'])
|
||||
{
|
||||
$delivery_option[$id_address] = $key;
|
||||
break;
|
||||
}
|
||||
{
|
||||
$delivery_option[$id_address] = $key;
|
||||
break;
|
||||
}
|
||||
|
||||
if (count($delivery_option) == 1)
|
||||
$this->id_carrier = $this->getIdCarrierFromDeliveryOption($delivery_option);
|
||||
|
||||
Reference in New Issue
Block a user