fixes ugly null check on ContentTypeSort comparison
This commit is contained in:
@@ -880,7 +880,7 @@ namespace umbraco.cms.businesslogic
|
||||
foreach (var i in value)
|
||||
{
|
||||
int id = i;
|
||||
list.Add(new ContentTypeSort { Id = new Lazy<int>(() => id), SortOrder = sort });
|
||||
list.Add(new ContentTypeSort(new Lazy<int>(() => id), sort));
|
||||
sort++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user