diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2022-10-07 07:50:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-07 07:50:14 +0200 |
| commit | 9ff918cb142f837bd55e1f87aba3f68f7de295e4 (patch) | |
| tree | 75ad827497aeb9d1dd6af47d97bfe9f6fd13b5c4 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 803972a76f6f8eb590b2de06662f7e83ce40273d (diff) | |
| parent | 87d460909f8019d7701fe39dd6b9b23594a6cffd (diff) | |
Merge pull request #8505 from JJS/CompilerWarnings
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 67f9c5765..db1eab1e4 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -2779,7 +2779,7 @@ namespace Emby.Server.Implementations.Library } }) .Where(i => i != null) - .Where(i => query.User == null ? + .Where(i => query.User == null ? true : i.IsVisible(query.User)) .ToList(); |
