This notice is popping up in a couple places:
Notice: Undefined variable: edit_user in masquerade_form_alter() (line 385 of /.../sites/all/modules/contrib/masquerade/masquerade.module).
Notice: Trying to get property of non-object in masquerade_user_update() (line 435 of /.../sites/all/modules/contrib/masquerade/masquerade.module).
These are generated when saving the user profile page. It looks like the code is using the $edit_user variable, but that hasn't been defined anywhere. The attached patch is an attempt to fix that.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | masquerade_997452.patch | 1003 bytes | hadsie |
Comments
Comment #1
hadsie commentedComment #2
afreeman commentedThanks for the patch! The supplied patch applies cleanly and clears the error in question. It also doesn't appear to break anything that was already working.
Comment #3
afreeman commentedPatch committed.