diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index 3852c19620d..fa31e9c0a33 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -78,7 +78,7 @@ if ($action == 'add_paiement') if (substr($key,0,7) == 'amount_') { $other_facid = substr($key,7); - $amounts[$other_facid] = $_POST[$key]; + $amounts[$other_facid] = price2num(GETPOST($key)); $total = $total + $amounts[$other_facid]; } }