fix title role error

This commit is contained in:
2021-01-26 14:32:31 +01:00
parent b45191bd04
commit 580510e6b1
2 changed files with 2 additions and 4 deletions

View File

@@ -174,9 +174,9 @@ class PermissionsGroupController extends Controller
$roleProvider = $this->roleProvider;
$roleScopesSorted = array();
foreach($roleScopes as $roleScope) {
/* @var $roleScope RoleScope */
$title = $roleProvider->getRoleTitle($roleScope->getRole());
var_dump($title);
$roleScopesSorted[$title][] = $roleScope;
}
ksort($roleScopesSorted);