Fix GETPOST for qty

This commit is contained in:
Laurent Destailleur 2021-01-11 13:02:05 +01:00
parent fe7be8362f
commit 788ef257a9

View File

@ -198,7 +198,7 @@ if (empty($reshook))
$error = 0;
// Set if we used free entry or predefined product
$qty = price2num(GETPOST('qty', 'int'));
$qty = price2num(GETPOST('qty', 'alpha'));
$qty_frozen = GETPOST('qty_frozen', 'int');
$disable_stock_change = GETPOST('disable_stock_change', 'int');
$efficiency = price2num(GETPOST('efficiency', 'int'));