fix behaviour of CalendarType in Controller and add field users to CalendarType

This commit is contained in:
2022-05-20 19:44:28 +02:00
parent 67fad5d764
commit 2b770036a5
6 changed files with 21 additions and 12 deletions

View File

@@ -88,6 +88,10 @@ class IdToEntityDataTransformer implements DataTransformerInterface
return implode(',', $ids);
}
if (null === $value) {
return '';
}
$id = call_user_func($this->getId, $value);
if (null === $id) {