diff options
Diffstat (limited to 'actions/friends')
-rw-r--r-- | actions/friends/remove.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/friends/remove.php b/actions/friends/remove.php index 83dd377e6..9969544da 100644 --- a/actions/friends/remove.php +++ b/actions/friends/remove.php @@ -34,5 +34,5 @@ if (!$errors) { system_message(sprintf(elgg_echo("friends:remove:successful"), $friend->name)); } -// Forward to the user friends page -forward("pg/friends/" . $_SESSION['user']->username . "/"); +// Forward back to the page you made the friend on +forward($_SERVER['HTTP_REFERER']); |