mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: NullRef on FIleList Parse if IMDB Empty
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user