diff --git bp-groups/bp-groups-classes.php bp-groups/bp-groups-classes.php
index 2ed7441..e31aac3 100644
|
|
|
class BP_Groups_Group { |
| 183 | 183 | $this->status = $group->status; |
| 184 | 184 | $this->enable_forum = $group->enable_forum; |
| 185 | 185 | $this->date_created = $group->date_created; |
| | 186 | $this->total_member_count = groups_get_groupmeta( $this->id, 'total_member_count' ); |
| 186 | 187 | |
| 187 | 188 | if ( ! empty( $this->args['populate_extras'] ) ) { |
| 188 | 189 | $this->last_activity = groups_get_groupmeta( $this->id, 'last_activity' ); |
| 189 | | $this->total_member_count = groups_get_groupmeta( $this->id, 'total_member_count' ); |
| 190 | 190 | $this->is_member = BP_Groups_Member::check_is_member( bp_loggedin_user_id(), $this->id ); |
| 191 | 191 | $this->is_invited = BP_Groups_Member::check_has_invite( bp_loggedin_user_id(), $this->id ); |
| 192 | 192 | $this->is_pending = BP_Groups_Member::check_for_membership_request( bp_loggedin_user_id(), $this->id ); |