Merge pull request #23384 from Humml87/develop_Fix_#23383_SalesOrderPos_Update
Fix #23383 Set $remise_percent to 0, if GETPOST is empty.
This commit is contained in:
commit
df8c453403
1 changed files with 1 additions and 1 deletions
|
|
@ -1106,7 +1106,7 @@ if (empty($reshook)) {
|
|||
$special_code = 3;
|
||||
}
|
||||
|
||||
$remise_percent = price2num(GETPOST('remise_percent'), '', 2);
|
||||
$remise_percent = GETPOST('remise_percent') != '' ? price2num(GETPOST('remise_percent'), '', 2) : 0;
|
||||
|
||||
// Check minimum price
|
||||
$productid = GETPOST('productid', 'int');
|
||||
|
|
|
|||
Loading…
Reference in a new issue