Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts: # src/Umbraco.Core/Cache/WebCachingAppCache.cs # src/Umbraco.Core/StringExtensions.cs # src/Umbraco.Infrastructure/PropertyEditors/UploadFileTypeValidator.cs # src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs # src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs # src/Umbraco.Web.UI.Client/package-lock.json # src/Umbraco.Web.UI/Umbraco/js/navigation.controller.js # src/Umbraco.Web/Macros/MacroRenderer.cs # src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Umbraco.Web.HealthCheck.NotificationMethods
|
||||
|
||||
public EmailNotificationMethod(ILocalizedTextService textService, IRuntimeState runtimeState, ILogger logger, IGlobalSettings globalSettings, IHealthChecksSettings healthChecksSettings, IContentSettings contentSettings) : base(healthChecksSettings)
|
||||
{
|
||||
var recipientEmail = Settings["recipientEmail"]?.Value;
|
||||
var recipientEmail = Settings?["recipientEmail"]?.Value;
|
||||
if (string.IsNullOrWhiteSpace(recipientEmail))
|
||||
{
|
||||
Enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user