HttpInput: Exception if the type is not known,
correct the use of numeric instead of number
This commit is contained in:
parent
2bb31c7180
commit
1093894187
13 changed files with 39 additions and 37 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue