mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix seeding leeching status
This commit is contained in:
@@ -32,7 +32,7 @@ class Torrent
|
|||||||
$id = $row['torrentid'];
|
$id = $row['torrentid'];
|
||||||
$activeStatus = 'inactivity';
|
$activeStatus = 'inactivity';
|
||||||
if (isset($peerList[$id])) {
|
if (isset($peerList[$id])) {
|
||||||
if ($peerList[$id]['to_go'] == 0) {
|
if ($peerList[$id] == 0) {
|
||||||
$activeStatus = 'seeding';
|
$activeStatus = 'seeding';
|
||||||
} else {
|
} else {
|
||||||
$activeStatus = 'leeching';
|
$activeStatus = 'leeching';
|
||||||
|
|||||||
Reference in New Issue
Block a user