Skip to content

Commit 2989429

Browse files
convert VO to string
1 parent 84dd9f2 commit 2989429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form/DataTransformer/EntitiesToPropertyTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function transform($entities)
6969
: $this->accessor->getValue($entity, $this->textProperty);
7070

7171
if ($this->em->contains($entity)) {
72-
$value = $this->accessor->getValue($entity, $this->primaryKey);
72+
$value = (string) $this->accessor->getValue($entity, $this->primaryKey);
7373
} else {
7474
$value = $this->newTagPrefix . $text;
7575
$text = $text.$this->newTagText;

0 commit comments

Comments
 (0)