From dd477a0cbe3bbdce77f1a09870d61788e430977f Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 9 Mar 2015 17:37:25 +1100 Subject: [PATCH] whoops, fixes comparison on lazy val --- src/Umbraco.Core/Models/ContentTypeSort.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Core/Models/ContentTypeSort.cs b/src/Umbraco.Core/Models/ContentTypeSort.cs index 40beb70939..e80d547797 100644 --- a/src/Umbraco.Core/Models/ContentTypeSort.cs +++ b/src/Umbraco.Core/Models/ContentTypeSort.cs @@ -53,7 +53,7 @@ namespace Umbraco.Core.Models protected bool Equals(ContentTypeSort other) { - return Id.Equals(other.Id) && string.Equals(Alias, other.Alias); + return Id.Value.Equals(other.Id.Value) && string.Equals(Alias, other.Alias); } ///