HttpInput: Exception if the type is not known,

correct the use of numeric instead of number
This commit is contained in:
Dany De Bontridder 2017-11-15 20:07:08 +01:00
parent 2bb31c7180
commit 1093894187
13 changed files with 39 additions and 37 deletions

View file

@ -135,7 +135,7 @@ if ( $action == "view" )
$return= HtmlInput::button_anchor(_('Retour à la liste'),'?&ac='.$_REQUEST['ac'].'&'.dossier::get(),_('retour'),"",'smallbutton');
$repo=new Database();
$user_id=$http->get('user_id',"numeric");
$user_id=$http->get('user_id',"number");
$User=new User($repo,$user_id);
$admin=0;
$access=$User->get_folder_access($gDossier);