mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -07:00
Fixed: Error with CP Import when no info is present. Fixes #1792
This commit is contained in:
parent
fb53fc68a9
commit
d44de777c1
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace NzbDrone.Core.NetImport.CouchPotato
|
||||||
|
|
||||||
foreach (var item in responseData)
|
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
|
// Fix weird error reported by Madmanali93
|
||||||
if (item.type != null && item.releases != null)
|
if (item.type != null && item.releases != null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue