mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
fix seeding leeching status
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user