FIX wieght is loose if it's comma on combinations

This commit is contained in:
Quentin VIAL-GOUTEYRON 2022-02-15 11:31:09 +01:00
parent 7a1c4172a6
commit 82b3d89923

View File

@ -235,7 +235,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) {