mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
Merge pull request #7121 from Bond-009/warn57
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