HttpInput::extract fix bug
This commit is contained in:
parent
fc7c8a4a36
commit
d39d0341b0
1 changed files with 3 additions and 3 deletions
|
|
@ -215,11 +215,11 @@ class HttpInput
|
|||
try
|
||||
{
|
||||
$this->array=$p_array;
|
||||
if (func_num_args()==1)
|
||||
return $this->get_value($p_name);
|
||||
if (func_num_args()==2)
|
||||
return $this->get_value($p_name, $p_type);
|
||||
return $this->get_value($p_name);
|
||||
if (func_num_args()==3)
|
||||
return $this->get_value($p_name, $p_type);
|
||||
if (func_num_args()==4)
|
||||
return $this->get_value($p_name, $p_type, $p_default);
|
||||
}
|
||||
catch (Exception $exc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue