Bug : customer.inc.php with http_input::request

Correct : Contact.inc.php remove direct use of $_GET
This commit is contained in:
Dany De Bontridder 2020-02-14 10:56:56 +01:00
parent 1ff9d19c1a
commit 4713644345
2 changed files with 3 additions and 3 deletions

View file

@ -73,8 +73,8 @@ if ($low_action == "list")
<form method="get" action="<?php echo $href;?>">
<?php
echo dossier::hidden();
$a = (isset($_GET['query'])) ? $_GET['query'] : "";
echo _("Cherche ").HtmlInput::filter_table_form("contact_tb", '0,1,2,3,4,5,6', 1,"query",$a);
$a = $http->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 ' .

View file

@ -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 )
{