Skip to content

Commit 2f6933b

Browse files
stocccfabpot
authored andcommitted
Tests and fix for issue in array model data in EntityType field with multiple=true
1 parent a40457a commit 2f6933b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/Core/EventListener/MergeCollectionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function onSubmit(FormEvent $event)
8080
return;
8181
}
8282

83-
if (!$dataToMergeInto) {
83+
if (null === $dataToMergeInto) {
8484
// No original data was set. Set it if allowed
8585
if ($this->allowAdd) {
8686
$dataToMergeInto = $data;

0 commit comments

Comments
 (0)