From 6369aeadbe5ee8c165b21eb33999d250cc440a7f Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 27 Jan 2024 20:37:29 +0700 Subject: [PATCH] Update view_torrent.php --- library/ajax/view_torrent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ajax/view_torrent.php b/library/ajax/view_torrent.php index 17be35d1..c5f893c8 100644 --- a/library/ajax/view_torrent.php +++ b/library/ajax/view_torrent.php @@ -97,7 +97,7 @@ class torrent continue; } // Exclude padding files [Only for hybrid torrents] - if ((isset($f['attr']) ? $f['attr'] : null) === 'p') + if (isset($f['attr']) && $f['attr'] === 'p') { continue; }