From 1a572bf7d953bc4f4c49388418c264da3c8d2b9c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 11 Apr 2006 13:37:54 +0000 Subject: [PATCH] Bugfix: #16316 --- htdocs/paiement.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index 10c74948f2d..8f1adfac24c 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -120,10 +120,10 @@ class Paiement $error = 0; // Nettoyage parametres - $value = price2num($value); $this->total = 0; foreach ($this->amounts as $key => $value) { + $value = price2num($value); $val = round($value, 2); $this->amounts[$key] = $val; $this->total += $val;