[buddypress-trac] [BuddyPress] #991: re 1844, small bp_add_friend_button error
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Sep 10 20:29:34 UTC 2009
#991: re 1844, small bp_add_friend_button error
------------------------------+---------------------------------------------
Reporter: junsuijin | Owner: junsuijin
Type: defect | Status: new
Priority: major | Milestone: 1.1
Keywords: has-patch, tested |
------------------------------+---------------------------------------------
Comment(by junsuijin):
it should also be apparent that this bit of the bp_get_add_friend_button
function does not appear to do anything, given this bug exists...
{{{
[...]
if ( is_user_logged_in() ) {
if ( !$potential_friend_id &&
$friends_template->friendship->friend )
$potential_friend_id =
$friends_template->friendship->friend->id;
else if ( !$potential_friend_id &&
!$friends_template->friendship->friend )
$potential_friend_id =
$bp->displayed_user->id;
[...]
}}}
--
Ticket URL: <https://trac.buddypress.org/ticket/991#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list