Changeset 8050
- Timestamp:
- 03/05/2014 10:09:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-template.php
r8045 r8050 161 161 } else if ( 'single-group' == $type ) { 162 162 $group = new stdClass; 163 $group->group_id = BP_Groups_Group::get_id_from_slug( $slug);163 $group->group_id = bp_get_current_group_id(); 164 164 $this->groups = array( $group ); 165 165 } else { … … 262 262 263 263 if ( $this->single_group ) 264 $this->group = groups_get_ group( array( 'group_id' => $this->group->group_id ));264 $this->group = groups_get_current_group(); 265 265 266 266 if ( 0 == $this->current_group ) // loop has just started
Note: See TracChangeset
for help on using the changeset viewer.