Fix sql syntax error
This commit is contained in:
parent
9ce603eb97
commit
b28c19d48d
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ $search_vat = trim(GETPOST('search_vat', 'alpha'));
|
|||
$search_sale = "";
|
||||
if (GETPOSTISARRAY('search_sale')) {
|
||||
$search_sale = GETPOST('search_sale', 'array:int');
|
||||
} elseif (GETPOSTISSET('search_sale')) {
|
||||
} elseif (GETPOSTISSET('search_sale') && GETPOSTINT('search_sale') > 0) {
|
||||
$search_sale = array(GETPOSTINT('search_sale'));
|
||||
}
|
||||
$search_categ_cus = GETPOSTINT("search_categ_cus");
|
||||
|
|
|
|||
Loading…
Reference in a new issue