Fix possible null ref exception

This commit is contained in:
Bond-009
2021-03-24 21:06:03 +01:00
committed by GitHub
parent 8410a9a266
commit 066c19a26b

View File

@@ -208,7 +208,7 @@ namespace Emby.Server.Implementations.Library
/// Gets or sets the list of entity resolution ignore rules.
/// </summary>
/// <value>The entity resolution ignore rules.</value>
private IResolverIgnoreRule[] EntityResolutionIgnoreRules { get; set; }
private IResolverIgnoreRule[] EntityResolutionIgnoreRules { get; set; } = Array.Empty<IResolverIgnoreRule>();
/// <summary>
/// Gets or sets the list of currently registered entity resolvers.