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
@ -1106,7 +1106,7 @@ if (empty($reshook)) {
|
|||||||
$special_code = 3;
|
$special_code = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
$remise_percent = price2num(GETPOST('remise_percent'), '', 2);
|
$remise_percent = GETPOST('remise_percent') != '' ? price2num(GETPOST('remise_percent'), '', 2) : 0;
|
||||||
|
|
||||||
// Check minimum price
|
// Check minimum price
|
||||||
$productid = GETPOST('productid', 'int');
|
$productid = GETPOST('productid', 'int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user