aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-01-05 16:18:08 -0700
committerGitHub <noreply@github.com>2022-01-05 16:18:08 -0700
commitb6b7a89bf2e54a4cb6731ba401d1858f37ddb449 (patch)
treeeac63d6761b1d8e93907e0ca2f84ce5bc7f43045 /Emby.Server.Implementations/Library/LibraryManager.cs
parenta2b51d551fc2029247afffd92799fe205a41ae03 (diff)
parent77c615ba424b6eba9194a1d0baf9b221278ced5c (diff)
Merge pull request #7121 from Bond-009/warn57
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index db2836a70..464a621cf 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -1444,7 +1444,7 @@ namespace Emby.Server.Implementations.Library
for (int i = 0; i < len; i++)
{
parents[i] = GetItemById(ancestorIds[i]);
- if (!(parents[i] is ICollectionFolder || parents[i] is UserView))
+ if (parents[i] is not (ICollectionFolder or UserView))
{
return;
}