aboutsummaryrefslogtreecommitdiff
path: root/actions/usersettings/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/usersettings/save.php')
-rw-r--r--actions/usersettings/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/usersettings/save.php b/actions/usersettings/save.php
index 5e375941f..3e0117f06 100644
--- a/actions/usersettings/save.php
+++ b/actions/usersettings/save.php
@@ -12,4 +12,4 @@ gatekeeper();
trigger_plugin_hook('usersettings:save', 'user');
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);