Fix warning
This commit is contained in:
parent
3b1143df91
commit
8b3c872f2a
@ -672,7 +672,9 @@ if (empty($reshook))
|
||||
|
||||
$qty = price2num(GETPOST('qty'.$predef, 'alpha'));
|
||||
$remise_percent = (GETPOSTISSET('remise_percent'.$predef) ? price2num(GETPOST('remise_percent'.$predef, 'alpha')) : 0);
|
||||
if ($remise_percent === '') $remise_percent = 0;
|
||||
if (empty($remise_percent)) {
|
||||
$remise_percent = 0;
|
||||
}
|
||||
|
||||
// Extrafields
|
||||
$extralabelsline = $extrafields->fetch_name_optionals_label($object->table_element_line);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user