Skip to content

Commit 2e0a6cf

Browse files
committed
fix
1 parent e4282d9 commit 2e0a6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/DataTransformer/ObjectToIdTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function transform($entity)
6464
$value = [];
6565

6666
foreach ($entity as $e) {
67-
if (! $accessor->isReadable($entity, $property)) {
67+
if (! $accessor->isReadable($e, $property)) {
6868
continue;
6969
}
7070

0 commit comments

Comments
 (0)