From 08dbf79ec9fa0e082add7de992443ec6b48b1863 Mon Sep 17 00:00:00 2001 From: xiaomlove <1939737565@qq.com> Date: Thu, 16 Oct 2025 16:56:53 +0700 Subject: [PATCH] fix search box category URI --- include/constants.php | 4 ++-- public/getrss.php | 2 +- public/usercp.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/constants.php b/include/constants.php index bc65b902..47185bf5 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ '; - $categoriesSpecial = build_search_box_category_table($specialcatmode, 'yes', 'torrents.php?allsec=1&', false, 3, '', ['section_name' => true]); + $categoriesSpecial = build_search_box_category_table($specialcatmode, 'yes', 'special.php?allsec=1&', false, 3, '', ['section_name' => true]); print($categoriesSpecial); } ?> diff --git a/public/usercp.php b/public/usercp.php index 43ba2343..afb2a0ee 100644 --- a/public/usercp.php +++ b/public/usercp.php @@ -597,7 +597,7 @@ if ($showaudiocodec) $audiocodecs = searchbox_item_list("audiocodecs"); $categories = build_search_box_category_table($browsecatmode, 'yes','torrents.php?allsec=1', false, 3, $CURUSER['notifs'], ['section_name' => true]); $delimiter = '
'; if (get_setting('main.spsct') == 'yes') { - $categories .= $delimiter . build_search_box_category_table($specialcatmode, 'yes','torrents.php?allsec=1', false, 3, $CURUSER['notifs'], ['section_name' => true]); + $categories .= $delimiter . build_search_box_category_table($specialcatmode, 'yes','special.php?allsec=1', false, 3, $CURUSER['notifs'], ['section_name' => true]); } $categories .= $delimiter . "| ".$lang_usercp['text_show_dead_active']." | ".$lang_usercp['text_show_special_torrents']." | ".$lang_usercp['text_show_bookmarked']." |