Sanitize params
This commit is contained in:
parent
054d5c5f4c
commit
9e6bb6f784
@ -1160,7 +1160,7 @@ if (empty($reshook))
|
||||
|
||||
elseif ($action == 'confirm_validate' && $confirm == 'yes' && $usercanvalidate)
|
||||
{
|
||||
$idwarehouse = GETPOST('idwarehouse');
|
||||
$idwarehouse = GETPOST('idwarehouse', 'int');
|
||||
|
||||
$qualified_for_stock_change = 0;
|
||||
if (empty($conf->global->STOCK_SUPPORTS_SERVICES))
|
||||
@ -1269,7 +1269,7 @@ if (empty($reshook))
|
||||
|
||||
elseif ($action == 'confirm_cancel' && $confirm == 'yes' && $usercanvalidate)
|
||||
{
|
||||
$idwarehouse = GETPOST('idwarehouse');
|
||||
$idwarehouse = GETPOST('idwarehouse', 'int');
|
||||
|
||||
$qualified_for_stock_change = 0;
|
||||
if (empty($conf->global->STOCK_SUPPORTS_SERVICES))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user