mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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:
parent
bf6c662d25
commit
93ccee2efb
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user