Skip to content

Commit

Permalink
Issue #6456: user_filters() shows permission machine names rather tha…
Browse files Browse the repository at this point in the history
…n human labels, and tries to translate them
  • Loading branch information
kiamlaluno committed Apr 17, 2024
1 parent 266a501 commit 1176aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/user/user.module
Expand Up @@ -2771,7 +2771,7 @@ function user_filters() {
if ($permissions = $function()) {
asort($permissions);
foreach ($permissions as $permission => $description) {
$options[t('@module module', array('@module' => $module))][$permission] = t($permission);
$options[t('@module module', array('@module' => $module))][$permission] = $description['title'];
}
}
}
Expand Down

0 comments on commit 1176aa3

Please sign in to comment.