Skip to:
Content

BuddyPress.org

Ticket #7726: 7726.01.patch

File 7726.01.patch, 518 bytes (added by r-a-y, 8 years ago)
  • src/bp-templates/bp-legacy/buddypress-functions.php

     
    13161316        if ( ! bp_groups_user_can_send_invites( $_POST['group_id'] ) )
    13171317                return;
    13181318
    1319         if ( ! friends_check_friendship( bp_loggedin_user_id(), $_POST['friend_id'] ) )
    1320                 return;
    1321 
    13221319        $group_id = (int) $_POST['group_id'];
    13231320        $friend_id = (int) $_POST['friend_id'];
    13241321