Skip to:
Content

BuddyPress.org

Ticket #6079: 6079.patch

File 6079.patch, 622 bytes (added by imath, 10 years ago)
  • src/bp-groups/bp-groups-template.php

    diff --git src/bp-groups/bp-groups-template.php src/bp-groups/bp-groups-template.php
    index a2e546b..4684804 100644
    class BP_Groups_Invite_Template { 
    43994399                        $this->invite->user->total_friends = BP_Friends_Friendship::total_friend_count( $user_id );
    44004400                }
    44014401
    4402                 if ( bp_is_active( 'friends' ) ) {
    4403                         $this->invite->user->total_friends = BP_Friends_Friendship::total_friend_count( $user_id );
    4404                 }
    4405 
    44064402                $this->invite->user->total_blogs = null;
    44074403
    44084404                $this->invite->group_id = $group_id; // Globaled in bp_group_has_invites()