noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 80/219: Bug : export_document the parameters


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 80/219: Bug : export_document the parameters id, ag_id and value are optionnal
Date: Mon, 18 Dec 2017 13:22:41 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 3e565b0b39bdc89674eab92b231c5de419392e54
Author: Dany De Bontridder <address@hidden>
Date:   Tue Oct 10 18:50:53 2017 +0200

    Bug : export_document the parameters id, ag_id and value are optionnal
---
 include/export/export_document.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/export/export_document.php 
b/include/export/export_document.php
index 83d5166..047edf3 100644
--- a/include/export/export_document.php
+++ b/include/export/export_document.php
@@ -33,8 +33,8 @@ $http=new HttpInput();
 
 $action = (isset($_REQUEST['a'])) ? $_REQUEST['a'] : 'sh';
 
-$id=$http->request('id','number');
-$ag_id=$http->request('ag_id','number');
+$id=$http->request('id','number','0');
+$ag_id=$http->request('ag_id','number',0);
 $value=$http->request('value',"string", null);
 
 /* Show the document */



reply via email to

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