Skip to content

Commit 33f3a53

Browse files
Jean FradetHalopend
authored andcommitted
Modifed the storage of choice arrays to not just store the key (which currently is just the first letter of the key).
1 parent 468e8d7 commit 33f3a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventSubscriber/ContentTypePersister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private function setContentFields(Content $content, Form $form, PostSubmitEvent
8787

8888
if (is_array($value)) {
8989
$value = implode(', ', array_map(function ($entry) {
90-
return $entry[0];
90+
return $entry;
9191
}, $value));
9292
}
9393
$value = (string) $value;

0 commit comments

Comments
 (0)