From 0b17ee8bd2e87dbea2743e51656dc77a5aa8d793 Mon Sep 17 00:00:00 2001 From: flashwave Date: Tue, 29 Jan 2019 23:53:07 +0100 Subject: [PATCH] Fixed broken redirect on the forum. --- public/forum/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/forum/index.php b/public/forum/index.php index 8c4468ac..e20c7790 100644 --- a/public/forum/index.php +++ b/public/forum/index.php @@ -11,7 +11,7 @@ switch ($_GET['m'] ?? '') { $markAction = forum_mark_read($markEntireForum ? null : $forumId, user_session_current('user_id', 0)); } - header('Location: /forum' . (!$markAction || $markEntireForum ? '' : url('forum-category', ['forum' => $forumId]))); + header('Location: ' . url(!$markAction || $markEntireForum ? 'forum-index' : 'forum-category', ['forum' => $forumId])); break; default: