From 90aacaa69abef82f3ccc119fb652afe0e4a5a0d6 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Wed, 9 Mar 2022 20:07:39 +0800 Subject: [PATCH] fix torrents pager tag_id --- public/torrents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/torrents.php b/public/torrents.php index f20eb46f..eb5cf0c3 100644 --- a/public/torrents.php +++ b/public/torrents.php @@ -830,7 +830,7 @@ $tagFilter = ""; $tagId = intval($_REQUEST['tag_id'] ?? 0); if ($tagId > 0) { $tagFilter = " inner join torrent_tags on torrents.id = torrent_tags.torrent_id and torrent_tags.tag_id = $tagId "; - $addparam .= "&tag_id=$tagId"; + $addparam .= "tag_id={$tagId}&"; } if ($allsec == 1 || $enablespecial != 'yes') {