aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/actions/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/actions/delete.php')
-rw-r--r--mod/messages/actions/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/actions/delete.php b/mod/messages/actions/delete.php
index 0f5bb2813..d59aff025 100644
--- a/mod/messages/actions/delete.php
+++ b/mod/messages/actions/delete.php
@@ -61,5 +61,5 @@ if ($success) {
}
} else {
register_error(elgg_echo("messages:notfound"));
- forward($_SERVER['HTTP_REFERER']);
+ forward(REFERER);
} \ No newline at end of file