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
No related branches found
No related tags found
No related merge requests found
...@@ -637,7 +637,7 @@ function user_admin_permissions($form, $form_state, $rid = NULL) { ...@@ -637,7 +637,7 @@ function user_admin_permissions($form, $form_state, $rid = NULL) {
$form['permission'][$perm] = array( $form['permission'][$perm] = array(
'#type' => 'item', '#type' => 'item',
'#markup' => $perm_item['title'], '#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) { foreach ($role_names as $rid => $name) {
// Builds arrays for checked boxes for each role // Builds arrays for checked boxes for each role
......
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