diff --git a/include/lib/http_input.class.php b/include/lib/http_input.class.php index ac3b1d9e2..60b03a103 100644 --- a/include/lib/http_input.class.php +++ b/include/lib/http_input.class.php @@ -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; }