For profile2 pages or other user/*/edit/* pages, there's no reason to go through Subuser's form_alter procedure.

Throws a php Notice "Undefined index: roles in subuser_form_alter()" since roles only appear on the main account form.

Comments

aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new465 bytes
aaronbauman’s picture

Issue summary: View changes
lauriii’s picture

Status: Needs review » Reviewed & tested by the community

Looking good to me. Marking as RTBC so I remember look at this later.

lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Commited and pushed!

  • lauriii committed c1ee44b on 7.x-2.x authored by aaronbauman
    Issue #2352849 by aaronbauman: Skip form alter for non account-form
    

Status: Fixed » Closed (fixed)

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