aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/editdefault.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/editdefault.php')
-rw-r--r--mod/profile/actions/editdefault.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/actions/editdefault.php b/mod/profile/actions/editdefault.php
index 6e4c3262b..1d50f432a 100644
--- a/mod/profile/actions/editdefault.php
+++ b/mod/profile/actions/editdefault.php
@@ -36,4 +36,4 @@ if (($label) && ($type)){
register_error(elgg_echo('profile:editdefault:fail'));
}
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file