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
1 changed files with 1 additions and 1 deletions

View File

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