http_input , trim on array is invalid
This commit is contained in:
parent
a53c93a06f
commit
2e4965b20e
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ class HttpInput
|
|||
}
|
||||
else if ($p_type=="array")
|
||||
{
|
||||
if (trim($this->array[$p_name]) == "" )
|
||||
if ( empty($this->array[$p_name]) )
|
||||
{
|
||||
$this->array[$p_name]=$this->empty;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue