[buddypress-trac] [BuddyPress] #2070: Mulitple Custom Activity Loops

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Mar 17 16:15:39 UTC 2010


#2070: Mulitple Custom Activity Loops
----------------------+-----------------------------------------------------
 Reporter:  lofish    |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  major     |   Milestone:  1.2.3
Component:  Activity  |    Keywords:       
----------------------+-----------------------------------------------------
Changes (by lofish):

  * milestone:  => 1.2.3


Comment:

 Propose we fix by changing conditional to:

 if ( !empty( $user_id ) || $user_id = ( !empty( $bp->displayed_user->id )
 ) ? $bp->displayed_user->id : $bp->loggedin_user->id )

 basically just checking if the user_id has already been set.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2070#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list