Update Emby.Server.Implementations/Plugins/PluginManager.cs

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

@ -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)

Loading…
Cancel
Save