diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 18a294b9d56..4c2ac92f793 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -209,8 +209,8 @@ class Product extends CommonObject if ($this->libelle) $sql.= "'".addslashes($this->libelle)."', "; $sql.= $user->id.","; $sql.= " ".$this->type.","; - $sql.= $price_ht.","; - $sql.= $price_ttc.","; + $sql.= price2num($price_ht).","; + $sql.= price2num($price_ttc).","; $sql.= "'".$this->price_base_type."',"; $sql.= "'".$this->canvas."')";