aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index a87a14ca2..208f3b969 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -102,7 +102,7 @@ function blog_page_handler($page) {
// forward away if invalid user.
if (!$user = get_user_by_username($username)) {
register_error('blog:error:unknown_username');
- forward($_SERVER['HTTP_REFERER']);
+ forward(REFERER);
}
set_page_owner($user->getGUID());