diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-11-21 13:22:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-21 14:22:23 +0100 |
| commit | 05bd1383c141e165f0e72a5dd2ec626376cf33a2 (patch) | |
| tree | 059d92acce727c8f5f8a943fae1a151f5dae16cb | |
| parent | 937e2a84e81808bdf16e861ade27a02f1449e85b (diff) | |
Null pointer fix. (#4527)
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
| -rw-r--r-- | MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs index 332479ff8..e540e4471 100644 --- a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs +++ b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs @@ -114,7 +114,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb var seasonResult = await GetSeasonRootObject(seriesImdbId, seasonNumber, cancellationToken).ConfigureAwait(false); - if (seasonResult == null) + if (seasonResult?.Episodes == null) { return false; } |
