#1500 closed defect (bug) (no action required)
error in bp_loggedinuser_link function
Reported by: | Fairweb | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | trivial |
Severity: | Version: | ||
Component: | Keywords: | templatetags | |
Cc: |
Description
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 =
Change History (2)
Note: See
TracTickets for help on using
tickets.
This is not a bug, It is an assignment not a comparison, sometimes, developers do this to save some code.It is not a bug.