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:
Regis Houssin 2024-03-05 11:06:52 +01:00 committed by GitHub
parent bf6c662d25
commit 93ccee2efb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')) {