Fixing style errors.

This commit is contained in:
stickler-ci 2022-02-18 10:09:38 +00:00
parent 12c825ba84
commit b5afa27774

View File

@ -1680,7 +1680,6 @@ class ExtraFields
//$value = price($value, 0, $langs, 0, 0, -1, $conf->currency); //$value = price($value, 0, $langs, 0, 0, -1, $conf->currency);
if ($value || $value == '0') { if ($value || $value == '0') {
$value = price($value, 0, $langs, 0, $conf->global->MAIN_MAX_DECIMALS_TOT, -1).' '.$langs->getCurrencySymbol($conf->currency); $value = price($value, 0, $langs, 0, $conf->global->MAIN_MAX_DECIMALS_TOT, -1).' '.$langs->getCurrencySymbol($conf->currency);
} }
} elseif ($type == 'select') { } elseif ($type == 'select') {
$valstr = (!empty($param['options'][$value]) ? $param['options'][$value] : ''); $valstr = (!empty($param['options'][$value]) ? $param['options'][$value] : '');