[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;
- [Noalyss-commit] [noalyss] tag rel7200 created (now e52d76a), Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 01/19: Fix cosmetic + export histo CSV with operation filter, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 04/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 02/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 05/19: Remove direct access to $http,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 08/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 07/19: http_input replace empty by a value, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 03/19: Documentation + bug cosmetic about TVA_SIDED : total operation shown instead of total_invoice (VAT REVERSED), Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 10/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 11/19: Bug #1783 : les nombres commençant par zéro ne sont pas supportés, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 06/19: export historic card csv : column wrong, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 12/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 09/19: zero is considered as empty value, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 16/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 17/19: Test : correct test for Acc_Ledger_Factory : payment status, Dany De Bontridder, 2019/12/12