Ticket #7726: 7726.01.patch
| File 7726.01.patch, 518 bytes (added by , 8 years ago) |
|---|
-
src/bp-templates/bp-legacy/buddypress-functions.php
1316 1316 if ( ! bp_groups_user_can_send_invites( $_POST['group_id'] ) ) 1317 1317 return; 1318 1318 1319 if ( ! friends_check_friendship( bp_loggedin_user_id(), $_POST['friend_id'] ) )1320 return;1321 1322 1319 $group_id = (int) $_POST['group_id']; 1323 1320 $friend_id = (int) $_POST['friend_id']; 1324 1321