whoops, fixes comparison on lazy val

This commit is contained in:
Shannon
2015-03-09 17:37:25 +11:00
parent 2834ccdc2b
commit dd477a0cbe

View File

@@ -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);
}
/// <summary>