Ticket #2293: hide_private_hidden_activity_from_friends.patch
File hide_private_hidden_activity_from_friends.patch, 546 bytes (added by , 14 years ago) |
---|
-
bp-activity/bp-activity-templatetags.php
196 196 197 197 // are we displaying user specific activity? 198 198 if ( is_numeric( $user_id ) ) { 199 $show_hidden = ( $user_id == $bp->loggedin_user->id ) ? 1 : 0;199 $show_hidden = ( $user_id == $bp->loggedin_user->id && $scope != 'friends' ) ? 1 : 0; 200 200 201 201 switch ( $scope ) { 202 202 case 'friends':