diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 1bcdeb81817..57c8b337ae6 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -77,7 +77,7 @@ class Product $sql = "INSERT INTO llx_product (datec, fk_user_author, fk_product_type, price)"; $sql .= " VALUES (now(),".$user->id.",$this->type, " . ereg_replace(",",".",$this->price) . ")"; - $result = $this->db->query($sql) + $result = $this->db->query($sql); if ( $result ) { $id = $this->db->last_insert_id();