1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Rare case of RequiredIndexerFlags failing with old Newznab indexers.

This commit is contained in:
Leonardo Galli 2018-02-01 16:00:55 +01:00
parent ca3d5c184e
commit 73fed04228

View File

@ -86,7 +86,7 @@ public Decision IsSatisfiedBy(RemoteMovie remoteEpisode, SearchCriteriaBase sear
var requiredFlags = torrentIndexerSettings.RequiredFlags; var requiredFlags = torrentIndexerSettings.RequiredFlags;
var requiredFlag = (IndexerFlags) 0; var requiredFlag = (IndexerFlags) 0;
if (requiredFlags.Count() == 0) if (requiredFlags == null || requiredFlags.Count() == 0)
{ {
return Decision.Accept(); return Decision.Accept();
} }