From c5fddfb49ff243db8b24f2ec9ba792ad8c328dcc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 3 Apr 2024 17:29:23 +0200 Subject: [PATCH] Fix regression of GETPOSTINT --- htdocs/compta/facture/list.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index a6da251aa7c..7aed9c7696f 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -106,8 +106,8 @@ $search_multicurrency_montant_ht = GETPOST('search_multicurrency_montant_ht', 'a $search_multicurrency_montant_vat = GETPOST('search_multicurrency_montant_vat', 'alpha'); $search_multicurrency_montant_ttc = GETPOST('search_multicurrency_montant_ttc', 'alpha'); $search_status = GETPOST('search_status', 'intcomma'); -$search_paymentmode = GETPOSTINT('search_paymentmode'); -$search_paymentterms = GETPOSTINT('search_paymentterms'); +$search_paymentmode = GETPOST('search_paymentmode', 'intcomma'); +$search_paymentterms = GETPOST('search_paymentterms', 'intcomma'); $search_module_source = GETPOST('search_module_source', 'alpha'); $search_pos_source = GETPOST('search_pos_source', 'alpha'); $search_town = GETPOST('search_town', 'alpha'); @@ -115,7 +115,7 @@ $search_zip = GETPOST('search_zip', 'alpha'); $search_state = GETPOST("search_state"); $search_country = GETPOST("search_country", 'alpha'); $search_customer_code = GETPOST("search_customer_code", 'alphanohtml'); -$search_type_thirdparty = GETPOSTINT("search_type_thirdparty"); +$search_type_thirdparty = GETPOST("search_type_thirdparty", 'intcomma'); $search_user = GETPOST('search_user', 'intcomma'); $search_sale = GETPOST('search_sale', 'intcomma'); $search_date_startday = GETPOSTINT('search_date_startday'); @@ -142,8 +142,8 @@ $search_datelimit_endmonth = GETPOSTINT('search_datelimit_endmonth'); $search_datelimit_endyear = GETPOSTINT('search_datelimit_endyear'); $search_datelimit_start = dol_mktime(0, 0, 0, $search_datelimit_startmonth, $search_datelimit_startday, $search_datelimit_startyear); $search_datelimit_end = dol_mktime(23, 59, 59, $search_datelimit_endmonth, $search_datelimit_endday, $search_datelimit_endyear); -$search_categ_cus = GETPOSTINT("search_categ_cus"); -$search_product_category = GETPOSTINT('search_product_category'); +$search_categ_cus = GETPOST("search_categ_cus", 'intcomma'); +$search_product_category = GETPOST('search_product_category', 'intcomma'); $search_fac_rec_source_title = GETPOST("search_fac_rec_source_title", 'alpha'); $search_late = GETPOST('search_late');