Changeset 11186
- Timestamp:
- 10/07/2016 09:34:55 PM (8 years ago)
- Location:
- trunk/src/bp-groups
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-admin.php
r11176 r11186 1048 1048 1049 1049 $types = bp_groups_get_group_types( array(), 'objects' ); 1050 $current_types = bp_groups_get_group_type( $group->id, false );1050 $current_types = (array) bp_groups_get_group_type( $group->id, false ); 1051 1051 $backend_only = bp_groups_get_group_types( array( 'show_in_create_screen' => false ) ); 1052 1052 ?> -
trunk/src/bp-groups/bp-groups-template.php
r11176 r11186 250 250 if ( $types = bp_groups_get_group_type( $group_id, false ) ) { 251 251 // Make sure we can show the type in the list. 252 if ( false === $ show_all) {252 if ( false === $r['show_all'] ) { 253 253 $types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types ); 254 254 if ( empty( $types ) ) {
Note: See TracChangeset
for help on using the changeset viewer.