From: Sem Date: Sat, 18 Feb 2012 15:17:22 +0000 (+0100) Subject: Both friendships in the river. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f3aee5808ae6adf499f971310804da995032a723;p=lorea%2Felgg.git Both friendships in the river. --- diff --git a/actions/friends/add.php b/actions/friends/add.php index 46e2a6c09..04168c4c3 100644 --- a/actions/friends/add.php +++ b/actions/friends/add.php @@ -17,6 +17,7 @@ if(check_entity_relationship($friend->guid, "friendrequest", $user->guid) remove_entity_relationship($friend->guid, "friendrequest", $user->guid); add_to_river('river/relationship/friend/create', 'friend', $user->guid, $friend->guid); + add_to_river('river/relationship/friend/create', 'friend', $friend->guid, $user->guid); system_message(elgg_echo("friends:add:successful", array($friend->name))); } elseif(add_entity_relationship($user->guid, "friendrequest", $friend->guid)) {