Changeset 2339 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 01/18/2010 03:52:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r2270 r2339 69 69 70 70 case 'invites': 71 if ( $user_id ) 72 $this->groups = groups_get_invites_for_user(); 71 $this->groups = groups_get_invites_for_user( $user_id, $this->pag_num, $this->pag_page ); 73 72 break; 74 73 … … 81 80 82 81 if ( 'invites' == $type ) { 83 $this->total_group_count = count($this->groups); 84 $this->group_count = count($this->groups); 82 $this->total_group_count = (int)$this->groups['total']; 83 $this->group_count = (int)$this->groups['total']; 84 $this->groups = $this->groups['groups']; 85 85 } else if ( 'single-group' == $type ) { 86 86 $this->single_group = true;
Note: See TracChangeset
for help on using the changeset viewer.