1
0
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:
Qstick 2020-01-31 19:46:38 -05:00
parent c6baff9bce
commit a19f0202b0

View File

@ -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));
}