* helper: remove empty value in array when calling convertType method.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user