diff --git a/Form/DataTransformer/ArrayEntityTransformer.php b/Form/DataTransformer/ArrayEntityTransformer.php index ebfae45..5b0c596 100644 --- a/Form/DataTransformer/ArrayEntityTransformer.php +++ b/Form/DataTransformer/ArrayEntityTransformer.php @@ -80,7 +80,7 @@ public function reverseTransformChildren($children, Config $parent = null) $value = array_filter($value); } - if (empty($value)) { + if (null === $value) { continue; } @@ -103,4 +103,4 @@ public function reverseTransformChildren($children, Config $parent = null) return $this->extension; } -} \ No newline at end of file +}