[buddypress-trac] [BuddyPress] #1500: error in bp_loggedinuser_link function

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Dec 28 14:40:09 UTC 2009


#1500: error in bp_loggedinuser_link function
-------------------------+--------------------------------------------------
Reporter:  Fairweb       |       Owner:     
    Type:  defect        |      Status:  new
Priority:  major         |   Milestone:  1.2
Keywords:  templatetags  |  
-------------------------+--------------------------------------------------
 in bp-core-templatetags.php, function bp_loggedinuser_link has bad
 operator.

 It says

 {{{
 if ( $link = bp_core_get_userlink( $bp->loggedin_user->id ) )
 }}}


 It should say

 {{{
 if ( $link == bp_core_get_userlink( $bp->loggedin_user->id ) )
 }}}

 == and not =

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1500>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list