mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-03 23:36:38 +01:00
Update MediaBrowser.Controller/Entities/BaseItem.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
@@ -1333,7 +1333,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
|
||||
var parents = GetParents().ToList();
|
||||
if (GetParents().Any(i => !i.IsVisible(user, true)))
|
||||
if (parents.Any(i => !i.IsVisible(user, true)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user