From e537a551814d3b43cddf5662411a0c439986cb16 Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 19 Nov 2019 15:42:18 +1100 Subject: [PATCH] fix incorrect validation --- src/Umbraco.Core/Models/Property.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/Models/Property.cs b/src/Umbraco.Core/Models/Property.cs index caf3bcc167..50a4b9416a 100644 --- a/src/Umbraco.Core/Models/Property.cs +++ b/src/Umbraco.Core/Models/Property.cs @@ -83,10 +83,10 @@ namespace Umbraco.Core.Models { public InitialPropertyValue(string culture, string segment, bool published, object value) { - Culture = culture ?? throw new ArgumentNullException(nameof(culture)); - Segment = segment ?? throw new ArgumentNullException(nameof(segment)); + Culture = culture; + Segment = segment; Published = published; - Value = value ?? throw new ArgumentNullException(nameof(value)); + Value = value; } public string Culture { get; }