Skip to content

Commit

Permalink
Modifed the storage of choice arrays to not just store the key (which…
Browse files Browse the repository at this point in the history
… currently is just the first letter of the key).
  • Loading branch information
Jean Fradet authored and Jean Fradet committed Nov 14, 2022
1 parent ac1aa96 commit bac1d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventSubscriber/ContentTypePersister.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private function setContentFields(Content $content, Form $form, PostSubmitEvent

if (is_array($value)) {
$value = implode(', ', array_map(function ($entry) {
return $entry[0];
return $entry;
}, $value));
}
$value = (string) $value;
Expand Down

0 comments on commit bac1d59

Please sign in to comment.