Fix minor warnings in Emby.Server.Implementations (#2149)

This commit is contained in:
Jan Sommer
2022-10-06 21:43:44 +02:00
parent 927fe33d3a
commit 0b8faf5db4
4 changed files with 4 additions and 3 deletions

View File

@@ -2779,7 +2779,7 @@ namespace Emby.Server.Implementations.Library
}
})
.Where(i => i != null)
.Where(i => query.User == null ?
.Where(i => query.User == null ?
true :
i.IsVisible(query.User))
.ToList();