Fixes issue with duplicated tags on inherited doc types.

This commit is contained in:
Morten Christensen
2013-01-18 11:18:19 -01:00
parent 9ef07ed2eb
commit 0292ca9bf3

View File

@@ -1224,7 +1224,7 @@ namespace umbraco.cms.businesslogic
temporaryList.Sort((a, b) => a.SortOrder.CompareTo(b.SortOrder));
// now that we aren't going to modify the list, we can set it to the class-scoped variable.
m_VirtualTabs = temporaryList;
m_VirtualTabs = temporaryList.DistinctBy(x => x.Id).ToList();
}
private void populateMasterContentTypes(PropertyType pt, int docTypeId)