Fix phpcs
This commit is contained in:
parent
3aaefd15b0
commit
b6308f6dfa
@ -217,12 +217,9 @@ if ($conf->global->PRODUIT_MULTIPRICES){
|
|||||||
for ($i = 1; $i <= $conf->global->PRODUIT_MULTIPRICES_LIMIT; $i++)
|
for ($i = 1; $i <= $conf->global->PRODUIT_MULTIPRICES_LIMIT; $i++)
|
||||||
{
|
{
|
||||||
$keyforlabel = 'PRODUIT_MULTIPRICES_LABEL'.$i;
|
$keyforlabel = 'PRODUIT_MULTIPRICES_LABEL'.$i;
|
||||||
if (!empty($conf->global->$keyforlabel))
|
if (!empty($conf->global->$keyforlabel)) {
|
||||||
{
|
|
||||||
$labelp = $i.' - '.$langs->trans($conf->global->$keyforlabel);
|
$labelp = $i.' - '.$langs->trans($conf->global->$keyforlabel);
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
$labelp = $langs->trans("SellingPrice")." ".$i;
|
$labelp = $langs->trans("SellingPrice")." ".$i;
|
||||||
}
|
}
|
||||||
$arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>40);
|
$arrayfields['p.sellprice'.$i] = array('label'=>$labelp, 'checked'=>1, 'enabled'=>$conf->global->PRODUIT_MULTIPRICES, 'position'=>40);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user