aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/deletedefaultprofileitem.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/deletedefaultprofileitem.php')
-rw-r--r--mod/profile/actions/deletedefaultprofileitem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/actions/deletedefaultprofileitem.php b/mod/profile/actions/deletedefaultprofileitem.php
index a049cb8b0..f3880954f 100644
--- a/mod/profile/actions/deletedefaultprofileitem.php
+++ b/mod/profile/actions/deletedefaultprofileitem.php
@@ -28,4 +28,4 @@ if (($id) && (set_plugin_setting("admin_defined_profile_$id", '', 'profile')) &&
register_error(elgg_echo('profile:editdefault:delete:fail'));
}
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file