Error on SA1316

This commit is contained in:
Bond_009
2022-01-05 10:58:57 +01:00
parent c6a1dcf420
commit 77c615ba42
4 changed files with 10 additions and 10 deletions

View File

@@ -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;
}