Ticket #7506: 7506.01.patch
| File 7506.01.patch, 655 bytes (added by , 9 years ago) |
|---|
-
src/bp-friends/bp-friends-functions.php
44 44 45 45 // Setup the friendship data. 46 46 $friendship = new BP_Friends_Friendship; 47 $friendship->initiator_user_id = $initiator_userid;48 $friendship->friend_user_id = $friend_userid;47 $friendship->initiator_user_id = (int) $initiator_userid; 48 $friendship->friend_user_id = (int) $friend_userid; 49 49 $friendship->is_confirmed = 0; 50 50 $friendship->is_limited = 0; 51 51 $friendship->date_created = bp_core_current_time();