Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#6079 closed defect (bug) (fixed)

Getting the total friend count twice in the Group invite template

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: Groups Keywords: has-patch commit
Cc:

Description (last modified by imath)

in BP_Groups_Invite_Template->the_invite(), we are using BP_Friends_Friendship::total_friend_count( $user_id ) twice for the same variable. I suggest to remove the extra one.

Attachments (1)

6079.patch (622 bytes) - added by imath 10 years ago.

Download all attachments as: .zip

Change History (5)

@imath
10 years ago

#1 @imath
10 years ago

  • Description modified (diff)

#2 @r-a-y
10 years ago

  • Keywords commit added

Good catch! :)

#4 @imath
10 years ago

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

In 9283:

In Groups invite loop, fetch users total friend count only once

Fixes #6079

Note: See TracTickets for help on using tickets.