Skip to:

Opened 14 years ago

Closed 14 years ago

#2960 closed defect (bug) (fixed)

BP_Groups_Group::get_group_extras() doesn't always set is_member/is_banned

Reported by: djpaul's profile DJPaul Owned by: djpaul's profile DJPaul
Milestone: 1.5 Priority: minor
Severity: Version:
Component: Core Keywords:


BP_Groups_Group::get_group_extras(), used as part of BP_Groups_Group::get(), only sets is_member and is_banned if those values are = true for the user_id passed into the groups template loop.

These ought to be set even if the values are false for consistency.

Change History (1)

#1 @djpaul
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3541]) Always set is_member/is_banned in get_group_extras(), also updates bp_group_is_user_banned() for these changes. Fixes #2960

Note: See TracTickets for help on using tickets.