Changeset 1538 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 06/10/2009 08:49:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-templatetags.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r1529 r1538 468 468 $this->group_count = 1; 469 469 } else { 470 if ( !$max )470 if ( !$max || $max >= (int)$this->groups['total'] ) 471 471 $this->total_group_count = (int)$this->groups['total']; 472 472 else … … 1642 1642 $this->members = BP_Groups_Member::get_all_for_group( $group_id, $this->pag_num, $this->pag_page, $exclude_admins_mods, $exclude_banned ); 1643 1643 1644 if ( !$max )1644 if ( !$max || $max >= (int)$this->members['count'] ) 1645 1645 $this->total_member_count = (int)$this->members['count']; 1646 1646 else … … 1918 1918 } 1919 1919 1920 if ( !$max )1920 if ( !$max || $max >= (int)$this->groups['total'] ) 1921 1921 $this->total_group_count = (int)$this->groups['total']; 1922 1922 else … … 2223 2223 $this->requests = BP_Groups_Group::get_membership_requests( $group_id, $this->pag_num, $this->pag_page ); 2224 2224 2225 if ( !$max )2225 if ( !$max || $max >= (int)$this->requests['total'] ) 2226 2226 $this->total_request_count = (int)$this->requests['total']; 2227 2227 else
Note: See TracChangeset
for help on using the changeset viewer.