Fixed: NullRef on FIleList Parse if IMDB Empty

pull/4138/head
Qstick 5 years ago
parent c6baff9bce
commit a19f0202b0

@ -42,7 +42,7 @@ namespace NzbDrone.Core.Indexers.FileList
}
var imdbId = 0;
if (result.ImdbId.Length > 2)
if (result.ImdbId != null && result.ImdbId.Length > 2)
{
imdbId = int.Parse(result.ImdbId.Substring(2));
}

Loading…
Cancel
Save