aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-12-23 10:24:30 +0000
committerGitHub <noreply@github.com>2020-12-23 10:24:30 +0000
commit66d98cb8e406d1dddebd339b0aab20b93df4bf7b (patch)
tree0d5afc5dbd760f53007f5bd1e6155335458ba8fd
parent1f2ecd0775f291457e780733339bb5009ebb8408 (diff)
Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index b91ba6b6c..f73cd1ea4 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -462,7 +462,7 @@ namespace Emby.Server.Implementations
{
// Convert to list so this isn't executed for each iteration
var parts = GetExportTypes<T>()
- .Select(i => defaultFunc(i))
+ .Select(defaultFunc)
.Where(i => i != null)
.Cast<T>()
.ToList();