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; }