Changeset 2248 for trunk/bp-themes/bp-default/_inc/ajax.php
- Timestamp:
- 01/04/2010 09:07:33 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/_inc/ajax.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/ajax.php
r2247 r2248 204 204 205 205 /* If we are viewing a group then filter the activity just for this group */ 206 if ( $bp->groups->current_group ) 206 if ( $bp->groups->current_group ) { 207 207 $query_string .= '&object=' . $bp->groups->id . '&primary_id=' . $bp->groups->current_group->id; 208 208 209 /* If we're viewing a non-private group and the user is a member, show the hidden activity for the group */ 210 if ( 'public' != $bp->groups->current_group->status && groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) 211 $query_string .= '&show_hidden=1'; 209 /* If we're viewing a non-private group and the user is a member, show the hidden activity for the group */ 210 if ( 'public' != $bp->groups->current_group->status && groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) 211 $query_string .= '&show_hidden=1'; 212 } 212 213 213 214 /* Add the per_page param */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)