Fixed broken redirect on the forum.

This commit is contained in:
flash 2019-01-29 23:53:07 +01:00
parent 74e7789cba
commit 0b17ee8bd2

View file

@ -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: