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

@ -33,7 +33,7 @@ $http=new HttpInput();
try {
$table=$http->request('table');
$action=$http->request('action');
$p_id=$http->request('p_id', "numeric");
$p_id=$http->request('p_id', "number");
$ctl_id=$http->request('ctl');
} catch(Exception $e) {

View file

@ -33,7 +33,7 @@ $http=new HttpInput();
try {
$table=$http->request('table');
$action=$http->request('action');
$p_id=$http->request('p_id', "numeric");
$p_id=$http->request('p_id', "number");
$ctl_id=$http->request('ctl');
} catch(Exception $e) {