mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
person document: fix use of deprecated role class
This commit is contained in:
@@ -80,7 +80,7 @@ class ScopePickerType extends AbstractType
|
||||
{
|
||||
$items = $this->authorizationHelper->getReachableScopes(
|
||||
$this->security->getUser(),
|
||||
$options['role']->getRole(),
|
||||
$options['role'] instanceof Role ? $options['role']->getRole() : $options['role'],
|
||||
$options['center']
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user