Fix for user_admin_role() function.

Error message
Notice: Trying to get property of non-object in user_admin_role() (line 741 of drupal.cvs/drupal/modules/user/user.admin.inc).

CommentFileSizeAuthor
perm-fix.patch653 bytesdoq
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dropcube’s picture

Priority: Critical » Normal

Any test cover it ?

Dries’s picture

Title: error when editing role » Write test for editing roles
Status: Needs review » Needs work

Committed to CVS HEAD, but we'll want to write a test for this. Updating the node.

moshe weitzman’s picture

we need to get rid of arg() call.

Sivaji_Ganesh_Jojodae’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.