diff --git a/htdocs/variants/combinations.php b/htdocs/variants/combinations.php index 1569fcabb39..64fa6b08b93 100644 --- a/htdocs/variants/combinations.php +++ b/htdocs/variants/combinations.php @@ -262,7 +262,7 @@ if (($action == 'add' || $action == 'create') && empty($massaction) && !GETPOST( exit(); } - $prodcomb->variation_weight = $weight_impact; + $prodcomb->variation_weight = price2num($weight_impact); // for conf PRODUIT_MULTIPRICES if ($conf->global->PRODUIT_MULTIPRICES) {