Commit dbac31e0 authored by Dries's avatar Dries

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

parent 714597a9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment