diff --git a/framework/helper.class.php b/framework/helper.class.php index 6e8015ef73..854ff81b5b 100644 --- a/framework/helper.class.php +++ b/framework/helper.class.php @@ -379,7 +379,7 @@ class helper extends baseHelper case 'bool': return (bool)$value; case 'array': - return (array)$value; + return array_filter((array)$value); case 'object': return (object)$value; case 'datetime':