diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index eef1e317ac5..e9ee46cd793 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -51,6 +51,8 @@ class Paiement * Insertion dans la base */ + $this->amount = ereg_replace(",",".",$this->amount); + $sql = "INSERT INTO llx_paiement (fk_facture, datec, datep, amount, author, fk_paiement, num_paiement, note)"; $sql .= " VALUES ($this->facid, now(), $this->datepaye,$this->amount,'$this->author', $this->paiementid, '$this->num_paiement', '$this->note')";