Removed the method 4 of GETPOST (to get $_COOKIE). It was not used and

not recommanded to use in Dolibarr.
This commit is contained in:
Laurent Destailleur
2019-04-08 14:55:31 +02:00
parent 1b415a6aed
commit 917b9d69fa
6 changed files with 6 additions and 7 deletions

View File

@@ -282,7 +282,7 @@ if ($mode == 'customer')
Commande::STATUS_CLOSED=>$langs->trans("StatusOrderDelivered"),
Commande::STATUS_CANCELED=>$langs->trans("StatusOrderCanceled")
);
print $form->selectarray('object_status', $liststatus, GETPOST('object_status'), -4);
print $form->selectarray('object_status', $liststatus, GETPOST('object_status', 'int'), -4);
}
if ($mode == 'supplier')
{