aboutsummaryrefslogtreecommitdiff
path: root/actions/friends/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/friends/add.php')
-rw-r--r--actions/friends/add.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/friends/add.php b/actions/friends/add.php
index d26539a54..60431a27d 100644
--- a/actions/friends/add.php
+++ b/actions/friends/add.php
@@ -31,4 +31,4 @@ if (!$errors) {
}
// Forward back to the page you friended the user on
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);