diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 9794e218585..b1dbb2609e1 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -237,7 +237,7 @@ if ($conf->global->PRODUIT_MULTIPRICES) { } else { $labelp = $langs->trans("SellingPrice")." ".$i; } - $arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>'40.'.$i); + $arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>floatval('40.'.sprintf('%03s', $i))); $arraypricelevel[$i] = array($i); } }