Skip to content
Snippets Groups Projects
Commit dbac31e0 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #601586 by Xano: do not require permission.

parent 714597a9
Branches
Tags
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
......@@ -637,7 +637,7 @@ function user_admin_permissions($form, $form_state, $rid = NULL) {
$form['permission'][$perm] = array(
'#type' => 'item',
'#markup' => $perm_item['title'],
'#description' => $hide_descriptions ? $perm_item['description'] : NULL,
'#description' => $hide_descriptions && isset($perm_item['description']) ? $perm_item['description'] : NULL,
);
foreach ($role_names as $rid => $name) {
// Builds arrays for checked boxes for each role
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment