diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 7d8caf6e69c..b66c4b09ecf 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -75,7 +75,7 @@ if ($action == 'add_paiement' || ($action == 'confirm_paiement' && $confirm=='ye if (substr($key,0,7) == 'amount_') { $cursorfacid = substr($key,7); - $amounts[$cursorfacid] = price2num($_POST[$key]); + $amounts[$cursorfacid] = price2num(trim($_POST[$key])); $totalpaiement = $totalpaiement + $amounts[$cursorfacid]; $tmpfacture=new Facture($db); $tmpfacture->fetch($cursorfacid); diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 81484ba7c2e..7102d977e92 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -603,7 +603,7 @@ Before=Avant After=Après IPAddress=Adresse IP Frequency=Fréquence -IM=Messagerie instantannée +IM=Messagerie instantanée NewAttribute=Nouvel attribut AttributeCode=Code de l'attribut OptionalFieldsSetup=Configuration des attributs complémentaires