[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 10/46: Bug : customer.inc.php with http_input
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 10/46: Bug : customer.inc.php with http_input::request Correct : Contact.inc.php remove direct use of $_GET |
Date: |
Mon, 4 May 2020 13:38:44 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 47136443451e05b54fcef8a22b5acfce9b6789cd
Author: Dany De Bontridder <address@hidden>
AuthorDate: Fri Feb 14 10:56:56 2020 +0100
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 06f76b5..f226618 100644
--- a/include/contact.inc.php
+++ b/include/contact.inc.php
@@ -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 ' .
diff --git a/include/customer.inc.php b/include/customer.inc.php
index 0bbc7c5..d42e835 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 )
{
- [Noalyss-commit] [noalyss] branch master updated (f306130 -> aa78d59), Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 01/46: Record exception, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 04/46: Comptability PHP7.2, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 05/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 02/46: Bug solde is rounded and doesn't have decimal, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 03/46: Test Acc_Account, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 06/46: Documentation, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 12/46: Minimum version : PHP 7.0 and PostgreSQL 9.5, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 07/46: phpunit : use plain text for restoring test database, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 09/46: search : add placeholder, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 10/46: Bug : customer.inc.php with http_input::request Correct : Contact.inc.php remove direct use of $_GET,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 11/46: New : Icon_Action::icon_onoff : display on or off, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 08/46: Bug : filter_list does not filter simple list, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 13/46: Noalyss_CSV : add setter and getter, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 16/46: remove blank line, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 18/46: Task #1694: Opération FIN: opération liée - code fiche mais pas nom, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 19/46: Task #0001704: Faciliter l'ajout de plusieurs lignes, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 23/46: Output_Html_Tab : cosmetic, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 24/46: Create test folder for phpunit, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 25/46: Task #0001704: Faciliter l'ajout de plusieurs lignes Fichier oublié html_input_noalyss.class.php, Dany De Bontridder, 2020/05/04
- [Noalyss-commit] [noalyss] 15/46: replace $_GET by httpInput, Dany De Bontridder, 2020/05/04