* helper: remove empty value in array when calling convertType method.

This commit is contained in:
liugang
2023-12-14 11:12:06 +08:00
parent 62c41b2a96
commit 6632aaad20
+1 -1
View File
@@ -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':