mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-27 22:14:40 -05:00
(Update) Announce Controller
This commit is contained in:
@@ -147,7 +147,7 @@ class AnnounceController extends Controller
|
||||
}
|
||||
|
||||
// Check Info Hash Against Torrents Table
|
||||
$torrent = Torrent::where('info_hash', $info_hash)->first();
|
||||
$torrent = Torrent::withAnyStatus()->where('info_hash', $info_hash)->first();
|
||||
|
||||
// If Torrent Doesnt Exsist Return Error to Client
|
||||
if (!$torrent || $torrent->id < 0) {
|
||||
|
||||
Reference in New Issue
Block a user