aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/addcomment.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/addcomment.php')
-rw-r--r--mod/profile/actions/addcomment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/actions/addcomment.php b/mod/profile/actions/addcomment.php
index 86d3cbd47..5817b8e83 100644
--- a/mod/profile/actions/addcomment.php
+++ b/mod/profile/actions/addcomment.php
@@ -45,4 +45,4 @@ if ($user && !empty($message_content)) {
}
// Forward back to the messageboard
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file