Skip to content

Commit

Permalink
Update commands/role.bee.inc
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Price <[email protected]>
  • Loading branch information
nico8948 and yorkshire-pudding authored Jun 26, 2024
1 parent 0abe5e4 commit ddfd02b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions commands/role.bee.inc
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ function roles_bee_callback($arguments, $options) {
$output = array();
foreach ($roles as $role => $value) {
if (!empty($role)) {
$role_array = array($role);
$permissions = implode('\' , \'', user_role_permissions($role_array));
$permissions = implode('\' , \'', user_role_permissions(array($role)));
if (!empty($permissions)) {
$permissions = '\''.$permissions.'\'';
}
Expand Down

0 comments on commit ddfd02b

Please sign in to comment.