Fix inverted boolean statement

pull/4202/head
cvium 4 years ago
parent 34d2716ce8
commit f8c4f7c63e

@ -45,7 +45,7 @@ namespace MediaBrowser.Providers.Plugins.Tmdb.TV
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>();
}

Loading…
Cancel
Save