forked from Wavyzz/dolibarr
FIX wrong GETPOST check (#28643)
* FIX wrong GETPOST check
* FIX why GETPOST("search_type", "int") is not the same result of
GETPOSTINT("search_type") ?
This commit is contained in:
@@ -77,7 +77,7 @@ $search_ref_supplier = GETPOST("search_ref_supplier", 'alpha');
|
||||
$search_barcode = GETPOST("search_barcode", 'alpha');
|
||||
$search_label = GETPOST("search_label", 'alpha');
|
||||
$search_default_workstation = GETPOST("search_default_workstation", 'alpha');
|
||||
$search_type = GETPOSTINT("search_type");
|
||||
$search_type = GETPOST("search_type", "int");
|
||||
$search_vatrate = GETPOST("search_vatrate", 'alpha');
|
||||
$searchCategoryProductOperator = 0;
|
||||
if (GETPOSTISSET('formfilteraction')) {
|
||||
|
||||
Reference in New Issue
Block a user