diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-23 05:39:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-23 05:39:43 +0000 |
commit | 3622e5f7a83bc70229d8e2d71473032c5cf4823b (patch) | |
tree | c74c2a1ee8ee74b32f83495809fe5d3f46dcafaa /modules/user/user.module | |
parent | 9d746ed4508add0b23b167baee6c345485e4382b (diff) | |
download | brdo-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.module | 2 |
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 |