Update viewtopic.php

This commit is contained in:
Roman Kelesidis 2024-04-30 14:38:10 +07:00
commit ed239d1a4e

View file

@ -358,8 +358,8 @@ if (!$ranks = $datastore->get('ranks')) {
$topic_title = $wordCensor->censorString($topic_title);
// Post, reply and other URL generation for templating vars
$new_topic_url = POSTING_URL . "?mode=newtopic&f=" . $forum_id;
$reply_topic_url = POSTING_URL . "?mode=reply&t=" . $topic_id;
$new_topic_url = POSTING_URL . "?mode=newtopic&" . POST_FORUM_URL . "=$forum_id";
$reply_topic_url = POSTING_URL . "?mode=reply&" . POST_TOPIC_URL . "=$topic_id";
$view_forum_url = FORUM_URL . $forum_id;
$view_prev_topic_url = TOPIC_URL . $topic_id . "&view=previous#newest";
$view_next_topic_url = TOPIC_URL . $topic_id . "&view=next#newest";