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
commit ba2a1c0209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();