From e5eb9a6b3fe8d532600ccc8dfcd3d5afe04091bf Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 15 Apr 2025 20:36:03 +0300 Subject: [PATCH] Update filelist.php --- filelist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filelist.php b/filelist.php index 08a2584ba..0faf10d68 100644 --- a/filelist.php +++ b/filelist.php @@ -55,8 +55,8 @@ $prev_topic_id = $topic_ids[$current_index - 1] ?? $topic_id; $next_topic_id = $topic_ids[$current_index + 1] ?? $topic_id; $template->assign_vars([ - 'U_NEXT_TOPIC' => "filelist.php?t=$next_topic_id", - 'U_PREV_TOPIC' => "filelist.php?t=$prev_topic_id", + 'U_NEXT_TOPIC' => FILELIST_URL . $next_topic_id, + 'U_PREV_TOPIC' => FILELIST_URL . $prev_topic_id, ]); unset($prev_topic_id, $next_topic_id, $current_index, $topic_ids, $topics);