From 085643edd6ec6821fcc7bd4eb0fd13ae902e6d61 Mon Sep 17 00:00:00 2001 From: hystepik Date: Fri, 9 Jun 2023 12:29:23 +0200 Subject: [PATCH] fix impossibility to add default filter for search_billed --- htdocs/commande/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 948f195214a..a8325503060 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -105,7 +105,7 @@ $search_multicurrency_montant_ttc = GETPOST('search_multicurrency_montant_ttc', $search_login = GETPOST('search_login', 'alpha'); $search_categ_cus = GETPOST("search_categ_cus", 'int'); $optioncss = GETPOST('optioncss', 'alpha'); -$search_billed = GETPOSTISSET('search_billed') ? GETPOST('search_billed', 'int') : GETPOST('billed', 'int'); +$search_billed = GETPOST('search_billed', 'int'); $search_status = GETPOST('search_status', 'int'); $search_btn = GETPOST('button_search', 'alpha'); $search_remove_btn = GETPOST('button_removefilter', 'alpha');