aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/friends/add.php1
1 files changed, 1 insertions, 0 deletions
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)) {