diff --git a/src/Umbraco.Core/Macros/MacroContent.cs b/src/Umbraco.Core/Macros/MacroContent.cs index f0ca8d6e9a..60dfb9210d 100644 --- a/src/Umbraco.Core/Macros/MacroContent.cs +++ b/src/Umbraco.Core/Macros/MacroContent.cs @@ -12,7 +12,7 @@ namespace Umbraco.Web.Macros public DateTime Date { get; set; } = DateTime.Now; // a value indicating whether the content is empty - public bool IsEmpty => Text == null; + public bool IsEmpty => Text is null; // gets an empty macro content public static MacroContent Empty { get; } = new MacroContent();