fix torrents pager tag_id

This commit is contained in:
xiaomlove
2022-03-09 20:07:39 +08:00
parent 2dc16c79a2
commit 90aacaa69a
+1 -1
View File
@@ -830,7 +830,7 @@ $tagFilter = "";
$tagId = intval($_REQUEST['tag_id'] ?? 0); $tagId = intval($_REQUEST['tag_id'] ?? 0);
if ($tagId > 0) { if ($tagId > 0) {
$tagFilter = " inner join torrent_tags on torrents.id = torrent_tags.torrent_id and torrent_tags.tag_id = $tagId "; $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') if ($allsec == 1 || $enablespecial != 'yes')
{ {