Make year nullable for trakt

This commit is contained in:
Devin Buhl 2017-01-28 17:27:53 -05:00
parent 8a0820ad1e
commit e8065d07b3
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace NzbDrone.Core.NetImport.Trakt
Title = movie.movie.title,
ImdbId = movie.movie.ids.imdb,
TmdbId = movie.movie.ids.tmdb,
Year = movie.movie.year
Year = (movie.movie.year ?? 0)
});
}