From 3622e5f7a83bc70229d8e2d71473032c5cf4823b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 23 Apr 2010 05:39:43 +0000 Subject: #316136 by pwolanin, David_Rothstein, coltrane, Heine: Fixed role name not filtered on admin/user/permissions. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') 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 -- cgit v1.2.3