noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 05/19: Remove direct access to $http


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/19: Remove direct access to $http
Date: Thu, 12 Dec 2019 15:49:04 -0500 (EST)

sparkyx pushed a commit to tag rel7200
in repository noalyss.

commit 63d929cae7110ff78f87230fd1956052b07b8e48
Author: Dany <address@hidden>
Date:   Wed Dec 4 11:51:22 2019 +0100

    Remove direct access to $http
---
 include/export/export_fiche_csv.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/export/export_fiche_csv.php 
b/include/export/export_fiche_csv.php
index d178ab9..a03e146 100644
--- a/include/export/export_fiche_csv.php
+++ b/include/export/export_fiche_csv.php
@@ -30,6 +30,7 @@ require_once NOALYSS_INCLUDE.'/lib/noalyss_csv.class.php';
 $gDossier=dossier::id();
 
 $cn=Dossier::connect();
+$http=new HttpInput();
 
 require_once  NOALYSS_INCLUDE.'/class/user.class.php';
 
@@ -40,7 +41,7 @@ $export->send_header();
 
 if  ( isset ($_GET['fd_id']))
 {
-    $fiche_def=new Fiche_Def($cn,$_GET ['fd_id']);
+    $fiche_def=new Fiche_Def($cn,$http->get('fd_id',"number"));
     $fiche=new Fiche($cn);
     $e=$fiche_def->get_by_type();
     $o=0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]