aboutsummaryrefslogtreecommitdiff
path: root/actions/email/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/email/save.php')
-rw-r--r--actions/email/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/email/save.php b/actions/email/save.php
index c84969945..0dee6ee1e 100644
--- a/actions/email/save.php
+++ b/actions/email/save.php
@@ -19,7 +19,7 @@ if (!$user_id) {
if (!is_email_address($email)) {
register_error(elgg_echo('email:save:fail'));
- forward($_SERVER['HTTP_REFERER']);
+ forward(REFERER);
}
if ($user) {