Fixing style errors.

This commit is contained in:
stickler-ci 2023-03-17 21:27:57 +00:00
parent 5351fe75ac
commit 1073944cf4

View File

@ -637,7 +637,7 @@ if (empty($reshook)) {
$info_bits |= 0x01;
}
if ($usercanproductignorepricemin && (!empty($price_min) && (price2num($pu_ht) * (1 - price2num((float)$remise_percent) / 100) < price2num($price_min)))) {
if ($usercanproductignorepricemin && (!empty($price_min) && (price2num($pu_ht) * (1 - price2num((float) $remise_percent) / 100) < price2num($price_min)))) {
$mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency));
setEventMessages($mesg, null, 'errors');
} else {