I get the following error when I enable this module.

Notice: Undefined index: #value in theme_user_admin_permissions() (line 761 .../modules/user/user.admin.inc).

When I disable the module the error goes away.

I also have "user protect" and "role delegation" modules installed on this site which are the only modules I could think of which are user/permissions specific.

Comments

dimmech’s picture

My bad, the error went away as soon as I selected values in user/modules boxes and submitted for the first time. Perhaps a default value could be set for when the initial load happens so as not to spook us trigger happy noobs.

cyu’s picture

Status: Active » Fixed

Thanks, when no options are selected I try to make a fake row in the permissions grid that shows a message about selecting roles and modules. http://drupalcode.org/project/filter_perms.git/commit/29e4512 initializes $form['role_names']['#value'] to an empty array which removes this warning.

Status: Fixed » Closed (fixed)

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