Skip to content

Commit bac1d59

Browse files
Jean FradetJean Fradet
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 ac1aa96 commit bac1d59

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)