diff options
-rw-r--r-- | actions/friends/add.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/friends/add.php b/actions/friends/add.php index 1ead0dc9e..46e2a6c09 100644 --- a/actions/friends/add.php +++ b/actions/friends/add.php @@ -12,6 +12,8 @@ if(check_entity_relationship($friend->guid, "friendrequest", $user->guid) || check_entity_relationship($friend->guid, "friend", $user->guid)) { $user->addFriend($friend->guid); + + $friend->addFriend($user->guid); remove_entity_relationship($friend->guid, "friendrequest", $user->guid); add_to_river('river/relationship/friend/create', 'friend', $user->guid, $friend->guid); |