From 004267a86f15bfa841082577cd7d705b467cbc03 Mon Sep 17 00:00:00 2001 From: Nikolaj Geisle Date: Wed, 11 May 2022 09:49:13 +0200 Subject: [PATCH] Fix test --- .../Filters/ContentSaveValidationAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs b/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs index aea64f1f11..4503e35b11 100644 --- a/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs +++ b/src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs @@ -84,7 +84,7 @@ namespace Umbraco.Cms.Web.BackOffice.Filters if (!ValidateAtLeastOneVariantIsBeingSaved(model, context)) return; if (!contentItemValidator.ValidateExistingContent(model, context)) return; - if (!await ValidateUserAccessAsync(model, context)) + if (!await ValidateUserAccessAsync(model, context)) return; if (model is not null) {