Fix inverted boolean statement
This commit is contained in:
parent
34d2716ce8
commit
f8c4f7c63e
|
@ -45,7 +45,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
|
||||||
|
|
||||||
var seriesTmdbId = Convert.ToInt32(series?.GetProviderId(MetadataProvider.Tmdb), CultureInfo.InvariantCulture);
|
var seriesTmdbId = Convert.ToInt32(series?.GetProviderId(MetadataProvider.Tmdb), CultureInfo.InvariantCulture);
|
||||||
|
|
||||||
if (seriesTmdbId <= 0 || season?.IndexNumber != null)
|
if (seriesTmdbId <= 0 || season?.IndexNumber == null)
|
||||||
{
|
{
|
||||||
return Enumerable.Empty<RemoteImageInfo>();
|
return Enumerable.Empty<RemoteImageInfo>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user