diff --git a/library/includes/functions.php b/library/includes/functions.php
index b9f7fc91f..f70ff74fb 100644
--- a/library/includes/functions.php
+++ b/library/includes/functions.php
@@ -1237,7 +1237,7 @@ function get_user_torrent_client(string $peerId): mixed
}
if (!empty($bestMatch)) {
- return '
';
+ return '
';
}
return $peerId;
diff --git a/library/includes/page_header.php b/library/includes/page_header.php
index 3b07d66c8..46be0facd 100644
--- a/library/includes/page_header.php
+++ b/library/includes/page_header.php
@@ -56,9 +56,6 @@ if (defined('SHOW_ONLINE') && SHOW_ONLINE) {
]);
}
-// Make jumpbox
-make_jumpbox();
-
// Info about new private messages
$icon_pm = $images['pm_no_new_msg'];
$pm_info = $lang['NO_NEW_PM'];
diff --git a/viewforum.php b/viewforum.php
index ae0f605d8..0aa75349d 100644
--- a/viewforum.php
+++ b/viewforum.php
@@ -51,6 +51,9 @@ if (!$forum_id or !$forum_data = @$forums['forum'][$forum_id]) {
bb_die($lang['FORUM_NOT_EXIST']);
}
+// Make jumpbox
+make_jumpbox();
+
// Only new
$only_new = $user->opt_js['only_new'];
$only_new_sql = '';
diff --git a/viewtopic.php b/viewtopic.php
index 4d9d5ce5d..4454754dc 100644
--- a/viewtopic.php
+++ b/viewtopic.php
@@ -218,6 +218,9 @@ $template->assign_vars([
unset($forums);
$datastore->rm('cat_forums');
+// Make jumpbox
+make_jumpbox();
+
if ($post_id && !empty($t_data['prev_posts'])) {
$start = floor(($t_data['prev_posts'] - 1) / $posts_per_page) * $posts_per_page;
}