Issue #2081205 by mrsinguyen: Remove Unused local variable $rid from /core/modules/user/lib/Drupal/user/Form/UserPermissionsForm.php.
parent
29530fd0f2
commit
0eca8b3725
|
@ -114,7 +114,7 @@ class UserPermissionsForm extends FormBase {
|
|||
'#id' => 'permissions',
|
||||
'#sticky' => TRUE,
|
||||
);
|
||||
foreach ($role_names as $rid => $name) {
|
||||
foreach ($role_names as $name) {
|
||||
$form['permissions']['#header'][] = array(
|
||||
'data' => $name,
|
||||
'class' => array('checkbox'),
|
||||
|
|
Loading…
Reference in New Issue