Skip to content

Commit

Permalink
Fix GETPOST to GETPOSTINT issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Daoud-mohamed committed Feb 28, 2024
1 parent 768c430 commit b96265f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/product/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@
if (!empty($catid) && empty($searchCategoryProductList)) {
$searchCategoryProductList = array($catid);
}
$search_tosell = GETPOSTINT("search_tosell");
$search_tobuy = GETPOSTINT("search_tobuy");
$search_tosell = GETPOST("search_tosell", 'int');
$search_tobuy = GETPOST("search_tobuy", 'int');
$search_country = GETPOSTINT("search_country");
$search_state = GETPOSTINT("state_id");
$fourn_id = GETPOSTINT("fourn_id");
$search_tobatch = GETPOSTINT("search_tobatch");
$search_tobatch = GETPOST("search_tobatch", 'int');
$search_accountancy_code_sell = GETPOST("search_accountancy_code_sell", 'alpha');
$search_accountancy_code_sell_intra = GETPOST("search_accountancy_code_sell_intra", 'alpha');
$search_accountancy_code_sell_export = GETPOST("search_accountancy_code_sell_export", 'alpha');
$search_accountancy_code_buy = GETPOST("search_accountancy_code_buy", 'alpha');
$search_accountancy_code_buy_intra = GETPOST("search_accountancy_code_buy_intra", 'alpha');
$search_accountancy_code_buy_export = GETPOST("search_accountancy_code_buy_export", 'alpha');
$search_finished = GETPOSTINT("search_finished");
$search_finished = GETPOST("search_finished", 'int');
$search_units = GETPOSTINT('search_units');
$optioncss = GETPOST('optioncss', 'alpha');
$type = GETPOSTINT("type");
Expand Down

0 comments on commit b96265f

Please sign in to comment.