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
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue