diff options
Diffstat (limited to 'actions/friends/remove.php')
-rw-r--r-- | actions/friends/remove.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/friends/remove.php b/actions/friends/remove.php index 936f6f43b..62bccb891 100644 --- a/actions/friends/remove.php +++ b/actions/friends/remove.php @@ -17,7 +17,7 @@ try{ if ($friend instanceof ElggUser) { elgg_get_logged_in_user_entity()->removeFriend($friend_guid); $ia = elgg_set_ignore_access(true); - $friend->removeFriend($elgg_get_logged_in_user_guid()); + $friend->removeFriend(elgg_get_logged_in_user_guid()); elgg_set_ignore_access($ia); } else { register_error(elgg_echo("friends:remove:failure", array($friend->name))); |