PHP warning is showing when admin is viewing the users overview page, but working fine when logged in as user one.

Notice: Undefined variable: exclude in administerusersbyrole_query_alter() (line 125 of /sites/all/modules/administerusersbyrole/administerusersbyrole.module)

Comments

madelyncruz created an issue. See original summary.

adamps’s picture

Priority: Normal » Minor

Thanks for the report. This is for D7 the same bug as #2849563: Errors on user overview page when user can edit all roles for D8.

It only occurs when the sub-admin can admin all roles, which is an unusual case - most people using this module want the sub-admin to manage some roles but not others.

adamps’s picture

Assigned: madelyncruz » Unassigned
Status: Active » Closed (won't fix)

Given this is minor, not intending to backport to D7, sorry.