diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 18a294b9d56ba5d0883c04740cccb6ccb550cbd8..4c2ac92f79399beaf216d1c3e5c831802d583b5a 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."')";