From 24e323bfe208b09c2718c64af33321a4e0609b64 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Sat, 3 Sep 2022 21:31:49 +0800 Subject: [PATCH] revert subtitles display --- public/details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/details.php b/public/details.php index 60151f82..064c0d85 100644 --- a/public/details.php +++ b/public/details.php @@ -225,7 +225,7 @@ JS; $otherCopiesIdArr = []; if ($imdb_id) { $otherCopiesIdArr = \App\Models\Torrent::query()->where('url', $imdb_id)->where('id', '!=', $row['id'])->pluck('id')->toArray(); - $subTorrentIdArr = array_merge($subTorrentIdArr, $otherCopiesIdArr); +// $subTorrentIdArr = array_merge($subTorrentIdArr, $otherCopiesIdArr); } $r = sql_query("SELECT subs.*, language.flagpic, language.lang_name FROM subs LEFT JOIN language ON subs.lang_id=language.id WHERE torrent_id in(" . implode(',', $subTorrentIdArr). ") ORDER BY subs.lang_id ASC") or sqlerr(__FILE__, __LINE__); print("".$lang_details['row_subtitles']."");