From 47136443451e05b54fcef8a22b5acfce9b6789cd Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 14 Feb 2020 10:56:56 +0100 Subject: [PATCH] Bug : customer.inc.php with http_input::request Correct : Contact.inc.php remove direct use of $_GET --- include/contact.inc.php | 4 ++-- include/customer.inc.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/contact.inc.php b/include/contact.inc.php index 06f76b540..f22661800 100644 --- a/include/contact.inc.php +++ b/include/contact.inc.php @@ -73,8 +73,8 @@ if ($low_action == "list")
get("query","string",""); + echo _("Cherche ").HtmlInput::filter_table_form("contact_tb", '0,1,2,3,4,5,6', 1,"query",$a); $sel_card = new ISelect('cat'); $sel_card->value = $cn->make_array('select fd_id, fd_label from fiche_def ' . diff --git a/include/customer.inc.php b/include/customer.inc.php index 0bbc7c5c1..d42e835bf 100644 --- a/include/customer.inc.php +++ b/include/customer.inc.php @@ -77,7 +77,7 @@ if ($low_action == "list") $a=$http->get("query","string",""); echo _("Cherche ").HtmlInput::filter_table_form("tiers_tb", '0,1,2', 1,"query",$a); - $choice_cat=$http->request("choice_cat", "",1); + $choice_cat=$http->request("choice_cat", "string",1); if ( $choice_cat == 1 ) {