Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/04/2010 04:03:16 PM (17 years ago)
Author:
apeatling
Message:

Fixing activity scope bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r2592 r2593  
    4444                        $qs[] = 'user_id=' . $user_id;
    4545                }
    46                 if ( 'all' != $_BP_COOKIE['bp-' . $object . '-scope'] )
    47                         $qs[] = 'scope=' . $_BP_COOKIE['bp-' . $object . '-scope']; // Activity stream scope
    48 
     46                if ( 'all' != $_BP_COOKIE['bp-' . $object . '-scope'] && empty( $bp->displayed_user->id ) )
     47                        $qs[] = 'scope=' . $_BP_COOKIE['bp-' . $object . '-scope']; // Activity stream scope on activity directory.
    4948        }
    5049
Note: See TracChangeset for help on using the changeset viewer.