diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 9fb163b6b52..a496f98888a 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -219,7 +219,7 @@ class Product $this->libelle = trim($this->libelle); $this->description = trim($this->description); $this->note = trim($this->note); - $this->new_weight = trim($this->new_weight); + $this->new_weight = trim(ereg_replace(",",".",$this->new_weight)); $this->new_weight_units = trim($this->new_weight_units); $sql = "UPDATE ".MAIN_DB_PREFIX."product ";