mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Error on SA1316
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user