Skip to:
Content

BuddyPress.org

Ticket #991: fix-bp_add_friend_button.patch

File fix-bp_add_friend_button.patch, 525 bytes (added by junsuijin, 16 years ago)

otherwise all buttons are 'add friend' with no loggedin user id

  • bp-friends/bp-friends-templatetags.php

     
    344344}
    345345
    346346function bp_add_friend_button( $potential_friend_id = false ) {
    347         echo bp_get_add_friend_button();
     347        echo bp_get_add_friend_button( $potential_friend_id );
    348348}
    349349        function bp_get_add_friend_button( $potential_friend_id = false ) {
    350350                global $bp, $friends_template;