diff --git a/nexus/Torrent/Torrent.php b/nexus/Torrent/Torrent.php index 060de332..9fdfd219 100644 --- a/nexus/Torrent/Torrent.php +++ b/nexus/Torrent/Torrent.php @@ -32,7 +32,7 @@ class Torrent $id = $row['torrentid']; $activeStatus = 'inactivity'; if (isset($peerList[$id])) { - if ($peerList[$id]['to_go'] == 0) { + if ($peerList[$id] == 0) { $activeStatus = 'seeding'; } else { $activeStatus = 'leeching';