Fixed broken redirect on the forum.
This commit is contained in:
parent
74e7789cba
commit
0b17ee8bd2
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue