mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
#16 fix errors and some design regressions in eventBundle
This commit is contained in:
@@ -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']) {
|
||||
|
Reference in New Issue
Block a user