// 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:
mDeflotte
2011-12-22 09:39:44 +00:00
parent da1326a34d
commit cc7584e340
4 changed files with 9 additions and 7 deletions
+4 -4
View File
@@ -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);