diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-02-11 07:46:52 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2023-02-11 07:46:52 -0700 |
| commit | 32eccc139c4b35aef04a29cefb11c6130726f617 (patch) | |
| tree | 3d4ac7fc62341bcffb37e080dbcd243da97a4b12 /Emby.Server.Implementations/Data/SqliteItemRepository.cs | |
| parent | 7b1bd9f234b0404007a9331c6a133f8a9a241ae0 (diff) | |
LiveTV fixes
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index bc703fe90..9aa7eea84 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -5440,6 +5440,9 @@ AND Type = @InternalPersonType)"); list.AddRange(inheritedTags.Select(i => (6, i))); + // Remove all invalid values. + list.RemoveAll(i => string.IsNullOrEmpty(i.Item2)); + return list; } |
