diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index 8f1adfac24c..593d9361d8e 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -148,6 +148,7 @@ class Paiement $facid = $key; if (is_numeric($amount) && $amount <> 0) { + $amount = price2num($amount); $sql = 'INSERT INTO '.MAIN_DB_PREFIX.'paiement_facture (fk_facture, fk_paiement, amount)'; $sql .= ' VALUES ('.$facid.','. $this->id.',\''.$amount.'\')'; if (! $this->db->query($sql) )