diff options
| author | Niels van Velzen <git@ndat.nl> | 2022-08-14 12:58:38 +0200 |
|---|---|---|
| committer | Niels van Velzen <git@ndat.nl> | 2022-08-14 12:58:38 +0200 |
| commit | 61afd029dfbc3e3d7d14a980ce1682cfc8a04b94 (patch) | |
| tree | 40e24802a9996b403d4585f9ea4b14daf4625ad1 /Jellyfin.Api/Controllers/TvShowsController.cs | |
| parent | 0f9124423941f7d2e00333942d3766c4cb8bac92 (diff) | |
Check for empty guid
Diffstat (limited to 'Jellyfin.Api/Controllers/TvShowsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/TvShowsController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TvShowsController.cs b/Jellyfin.Api/Controllers/TvShowsController.cs index a74538b00..fc376d069 100644 --- a/Jellyfin.Api/Controllers/TvShowsController.cs +++ b/Jellyfin.Api/Controllers/TvShowsController.cs @@ -278,7 +278,7 @@ namespace Jellyfin.Api.Controllers } // This must be the last filter - if (adjacentTo.HasValue) + if (adjacentTo.HasValue && !adjacentTo.Value.Equals(default)) { episodes = UserViewBuilder.FilterForAdjacency(episodes, adjacentTo.Value).ToList(); } |
