Skip to content

Commit

Permalink
Merge pull request #47 from lkreitz/bugfix/parentroles-empty
Browse files Browse the repository at this point in the history
array_filter must return true if role should be kept in array
  • Loading branch information
Pingu501 authored May 17, 2024
2 parents ccc9696 + 273a3b1 commit 8219e53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Controller/Module/DynamicRoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ protected function assignAvailableRoles(DynamicRole $roleToEdit = null)
if (in_array($role->getIdentifier(), $hiddenRoles, true)) {
return false;
}
return true;
}));
}
}

0 comments on commit 8219e53

Please sign in to comment.