mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
fix hr display error when not download completed
This commit is contained in:
@@ -62,6 +62,10 @@ class HitAndRun extends NexusModel
|
||||
if ($this->status != self::STATUS_INSPECTING) {
|
||||
return '---';
|
||||
}
|
||||
if (!$this->snatch->completedat) {
|
||||
//not download completed
|
||||
return '---';
|
||||
}
|
||||
$searchBoxId = $this->torrent->basic_category->mode ?? 0;
|
||||
if ($searchBoxId == 0) {
|
||||
do_log(sprintf('[INVALID_CATEGORY], Torrent: %s', $this->torrent_id), 'error');
|
||||
|
||||
Reference in New Issue
Block a user