summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-23 05:39:43 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-23 05:39:43 +0000
commit3622e5f7a83bc70229d8e2d71473032c5cf4823b (patch)
treec74c2a1ee8ee74b32f83495809fe5d3f46dcafaa /modules/user/user.module
parent9d746ed4508add0b23b167baee6c345485e4382b (diff)
downloadbrdo-3622e5f7a83bc70229d8e2d71473032c5cf4823b.tar.gz
brdo-3622e5f7a83bc70229d8e2d71473032c5cf4823b.tar.bz2
#316136 by pwolanin, David_Rothstein, coltrane, Heine: Fixed role name not filtered on admin/user/permissions.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 2d23929bd..063704054 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -975,7 +975,7 @@ function user_account_form(&$form, &$form_state) {
'#access' => $admin,
);
- $roles = user_roles(TRUE);
+ $roles = array_map('check_plain', user_roles(TRUE));
// The disabled checkbox subelement for the 'authenticated user' role
// must be generated separately and added to the checkboxes element,
// because of a limitation in Form API not supporting a single disabled