Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/4709/head
BaronGreenback 4 years ago committed by GitHub
parent 1f2ecd0775
commit 66d98cb8e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -462,7 +462,7 @@ namespace Emby.Server.Implementations
{ {
// Convert to list so this isn't executed for each iteration // Convert to list so this isn't executed for each iteration
var parts = GetExportTypes<T>() var parts = GetExportTypes<T>()
.Select(i => defaultFunc(i)) .Select(defaultFunc)
.Where(i => i != null) .Where(i => i != null)
.Cast<T>() .Cast<T>()
.ToList(); .ToList();

Loading…
Cancel
Save