[buddypress-trac] [BuddyPress] #2695: bp_has_groups ignore user_id

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Oct 29 07:01:07 UTC 2010


#2695: bp_has_groups ignore user_id
---------------------+------------------------------------------------------
 Reporter:  laullon  |       Owner:                       
     Type:  defect   |      Status:  new                  
 Priority:  normal   |   Milestone:  1.2.7                
Component:  Groups   |    Keywords:  bp_has_groups user_id
---------------------+------------------------------------------------------

Comment(by laullon):

 correction:

 {{{
 /* User filtering */
         if ( empty( $user_id ) )
                 $user_id = $bp->displayed_user->id;
 }}}

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


More information about the buddypress-trac mailing list