1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02:00

Fixed: Error with CP Import when no info is present. Fixes #1792

This commit is contained in:
Leonardo Galli 2017-08-20 20:13:42 +02:00
parent fb53fc68a9
commit d44de777c1

View File

@ -43,7 +43,7 @@ public CouchPotatoParser(CouchPotatoSettings settings)
foreach (var item in responseData)
{
int tmdbid = item.info.tmdb_id ?? 0;
int tmdbid = item.info?.tmdb_id ?? 0;
// Fix weird error reported by Madmanali93
if (item.type != null && item.releases != null)