mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: NullRef on FIleList Parse if IMDB Empty
This commit is contained in:
parent
c6baff9bce
commit
a19f0202b0
@ -42,7 +42,7 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
||||
}
|
||||
|
||||
var imdbId = 0;
|
||||
if (result.ImdbId.Length > 2)
|
||||
if (result.ImdbId != null && result.ImdbId.Length > 2)
|
||||
{
|
||||
imdbId = int.Parse(result.ImdbId.Substring(2));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user