diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-12-23 10:29:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 10:29:21 +0000 |
| commit | 9a97933499d4171e6ff7d2d860845c1cc54ef7d8 (patch) | |
| tree | 484a44f3d7a714be6d8fd50bf6914bb16cf77fae | |
| parent | 8e04e6c837e628fe80fab486adea33ae3b33aae5 (diff) | |
Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
| -rw-r--r-- | Emby.Server.Implementations/Plugins/PluginManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs index 2609f6fca..dac3100af 100644 --- a/Emby.Server.Implementations/Plugins/PluginManager.cs +++ b/Emby.Server.Implementations/Plugins/PluginManager.cs @@ -229,7 +229,7 @@ namespace Emby.Server.Implementations.Plugins if (version == null) { // If no version is given, return the current instance. - var plugins = _plugins.Where(p => p.Id.Equals(id)); + var plugins = _plugins.Where(p => p.Id.Equals(id)).ToList(); plugin = plugins.FirstOrDefault(p => p.Instance != null); if (plugin == null && plugins.Length > 0) |
