Skip to content

Commit

Permalink
// Fix #PSCFV-4169
Browse files Browse the repository at this point in the history
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17753 b9a71923-0436-4b27-9f14-aed3839534dd
  • Loading branch information
rGaillard committed Oct 4, 2012
1 parent 1b2d7fa commit 50206f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/admin/AdminOrdersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,7 @@ public function postProcess()
$order_detail_list[$id_order_detail]['amount'] = $order_detail->unit_price_tax_incl * $order_detail_list[$id_order_detail]['quantity'];
}
else
$order_detail_list[$id_order_detail]['amount'] = (float)$amount_detail;

$order_detail_list[$id_order_detail]['amount'] = (float)str_replace(',', '.', $amount_detail);
$amount += $order_detail_list[$id_order_detail]['amount'];
}

Expand Down

0 comments on commit 50206f1

Please sign in to comment.