From dfe9436f1d5da5557bb9b4594c4004bddf9ee4b6 Mon Sep 17 00:00:00 2001 From: xiaomlove <1939737565@qq.com> Date: Sat, 18 Apr 2026 12:18:46 +0700 Subject: [PATCH] remove debug --- public/announce.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/announce.php b/public/announce.php index a1cae29d..294336ab 100644 --- a/public/announce.php +++ b/public/announce.php @@ -174,7 +174,7 @@ elseif ($az['showclienterror'] == 'yes'){ // check torrent based on info_hash $tsField = \Nexus\Database\NexusDB::unixTimestampField('added'); $checkTorrentSql = "SELECT torrents.id, size, owner, sp_state, seeders, leechers, times_completed, $tsField AS ts, added, banned, hr, approval_status, price, categories.mode FROM torrents left join categories on torrents.category = categories.id WHERE info_hash = decode(:info_hash, 'hex') limit 1"; -if (!$torrent = $Cache->get_value('torrent_hash_'.$info_hash.'_content_111')){ +if (!$torrent = $Cache->get_value('torrent_hash_'.$info_hash.'_content')){ $res = mysql_prepare($checkTorrentSql); $res->execute(['info_hash' => bin2hex($info_hash)]); $torrent = mysql_fetch_array($res);