Merge pull request #20073 from atm-quentin/FIX_13_combinations

FIX weight is lost if it's comma on combinations card
This commit is contained in:
Laurent Destailleur 2022-02-16 20:34:24 +01:00 committed by GitHub
commit ed10db668d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {