Changeset 545 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 11/14/2008 12:03:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r540 r545 414 414 global $bp; 415 415 416 if ( $bp['current_action'] == 'group-finder' ) 416 if ( $bp['current_action'] == 'my-groups' && $_POST['group-filter-box'] == '' ) 417 return true; 418 419 return false; 420 } 421 422 function bp_group_show_no_results_message() { 423 global $bp; 424 425 if ( ( $bp['current_action'] == 'my-groups' && $_POST['group-filter-box'] == '' ) || ( $bp['current_action'] == 'group-finder' && $_POST['groupfinder-search-box'] == '' ) ) 417 426 return false; 418 427 419 return true; 428 return true; 420 429 } 421 430 … … 999 1008 if ( $this->member_count ) 1000 1009 return true; 1001 1010 1002 1011 return false; 1003 1012 } … … 1047 1056 $groups_template->group = new BP_Groups_Group( $group_id ); 1048 1057 1049 1050 1058 $members_template = new BP_Groups_Group_Members_Template( $groups_template->group->id, $num_per_page, $exclude_admins_mods, $exclude_banned ); 1051 1059
Note: See TracChangeset
for help on using the changeset viewer.