Bug : export_document the parameters id, ag_id and value are optionnal

This commit is contained in:
Dany De Bontridder 2017-10-10 18:50:53 +02:00
parent 53cad342d7
commit 3e565b0b39

View file

@ -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 */