Skip to content
Snippets Groups Projects
Commit 0eca8b37 authored by catch's avatar catch
Browse files

Issue #2081205 by mrsinguyen: Remove Unused local variable $rid from...

Issue #2081205 by mrsinguyen: Remove Unused local variable $rid from /core/modules/user/lib/Drupal/user/Form/UserPermissionsForm.php.
parent 29530fd0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -114,7 +114,7 @@ public function buildForm(array $form, array &$form_state) {
'#id' => 'permissions',
'#sticky' => TRUE,
);
foreach ($role_names as $rid => $name) {
foreach ($role_names as $name) {
$form['permissions']['#header'][] = array(
'data' => $name,
'class' => array('checkbox'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment