Skip to:
Content

BuddyPress.org

Changeset 2750


Ignore:
Timestamp:
02/19/2010 04:47:14 PM (15 years ago)
Author:
apeatling
Message:

Fixing the display of private activity on for objects that the logged in user has access to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity/bp-activity-templatetags.php

    r2730 r2750  
    191191            $display_comments = 'stream';
    192192
    193         $show_hidden = ( $user_id == $bp->loggedin_user->id ) ? 1 : 0;
    194 
    195193        if ( $user_id = ( !empty( $bp->displayed_user->id ) ) ? $bp->displayed_user->id : $bp->loggedin_user->id ) {
     194            $show_hidden = ( $user_id == $bp->loggedin_user->id ) ? 1 : 0;
     195
    196196            switch ( $scope ) {
    197197                case 'friends':
Note: See TracChangeset for help on using the changeset viewer.