Merge pull request #5806 from Bond-009/nullref5

Fix possible ArgumentNullException
This commit is contained in:
Bond-009
2021-04-13 18:00:33 +02:00
committed by GitHub

View File

@@ -54,7 +54,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
if (string.IsNullOrEmpty(tmdbId))
{
return null;
return Enumerable.Empty<RemoteImageInfo>();
}
var language = item.GetPreferredMetadataLanguage();