Changeset 3365 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 11/06/2010 07:04:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r3335 r3365 148 148 /* Type */ 149 149 if ( 'my-groups' == $bp->current_action ) { 150 if ( 'most-popular' == $order ) 150 if ( 'most-popular' == $order ) { 151 151 $type = 'popular'; 152 else if ( 'alphabetically' == $order )152 } elseif ( 'alphabetically' == $order ) { 153 153 $type = 'alphabetical'; 154 } else if ( 'invites' == $bp->current_action ) { 154 } 155 } elseif ( 'invites' == $bp->current_action ) { 155 156 $type = 'invites'; 156 } else if ($bp->groups->current_group->slug ) {157 } elseif ( isset( $bp->groups->current_group->slug ) && $bp->groups->current_group->slug ) { 157 158 $type = 'single-group'; 158 159 $slug = $bp->groups->current_group->slug;
Note: See TracChangeset
for help on using the changeset viewer.