mirror of https://github.com/Radarr/Radarr
Fixed: NullRef on FIleList Parse if IMDB Empty
This commit is contained in:
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…
Reference in New Issue