aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/resetdefaultprofile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/resetdefaultprofile.php')
-rw-r--r--mod/profile/actions/resetdefaultprofile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/actions/resetdefaultprofile.php b/mod/profile/actions/resetdefaultprofile.php
index 26b596f90..facc82f71 100644
--- a/mod/profile/actions/resetdefaultprofile.php
+++ b/mod/profile/actions/resetdefaultprofile.php
@@ -20,4 +20,4 @@ set_plugin_setting('user_defined_fields', FALSE, 'profile');
system_message(elgg_echo('profile:defaultprofile:reset'));
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file