We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efa0b44 commit 84dd9f2Copy full SHA for 84dd9f2
Form/DataTransformer/EntityToPropertyTransformer.php
@@ -68,7 +68,7 @@ public function transform($entity)
68
: $this->accessor->getValue($entity, $this->textProperty);
69
70
if ($this->em->contains($entity)) {
71
- $value = $this->accessor->getValue($entity, $this->primaryKey);
+ $value = (string) $this->accessor->getValue($entity, $this->primaryKey);
72
} else {
73
$value = $this->newTagPrefix . $text;
74
$text = $text.$this->newTagText;
0 commit comments