2
0
forked from Wavyzz/dolibarr

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

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