#16 fix errors and some design regressions in eventBundle

This commit is contained in:
2022-11-16 13:03:25 +01:00
parent 9623a35e6f
commit 928869666c
14 changed files with 101 additions and 84 deletions

View File

@@ -144,7 +144,7 @@ class PickPersonType extends AbstractType
}, $this->user->getGroupCenters()->toArray());
} else {
$centers = $this->authorizationHelper
->getReachableCenters($this->user, $options['role']);
->getReachableCenters($this->user, $options['role']->getRole());
}
if (null === $options['centers']) {