Closed (won't fix)
Project:
OG User Roles
Version:
5.x-3.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2009 at 11:35 UTC
Updated:
6 Dec 2009 at 17:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
douggreen commentedRelated to this problem, I've also discovered that og_user_roles_all_roles() gets called from both og_user_roles_init and og_user_roles_user op='load', both of which are called before og_init() has had an opportunity to set the og_get_group_context(), thus og_user_roles_all_roles() doesn't have the group context, and then changes $_SESSION['og_last']. While this is really a separate issue, because of it's affect on 'og_last', I've worked it as part of this issue.
See attached patch.
Comment #2
sunSame as #509342: Don't overload the variable table - performance improvement - feel free to re-open though.