Posted by bcmiller0 on February 2, 2012 at 4:12pm
2 followers
| Project: | User Relationships |
| Version: | 6.x-1.x-dev |
| Component: | Invites |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Getting Notice for anon user on our home page as follows:
Notice: Undefined variable: _SESSION in user_relationship_invites_user() (line 81 of www/sites/all/modules/contrib/user_relationships/user_relationship_invites/user_relationship_invites.module).
Comments
#1
here is patch to remove hitting notice condition.
#2
oops, here is patch with proper relative paths.
#3
#4
I cleaned this whole section up a bit, and included a check for the invite session variable around the whole thing.
Let me know if this removes the notice for you, I wasn't able to see that in my testing.
#5
#6
I never saw the notice so I can't really confirm if this fix works or not. If someone can test this on a site that relies on invites give me a +1 and I'll commit this.