Fix for issue U4-5755 Issue: Multiple mixins with same tab cause content node edit crash

This commit is contained in:
Robert Foster
2014-11-08 01:13:17 +11:00
parent 6ea7b32363
commit ca951aa56b

View File

@@ -211,7 +211,7 @@ namespace Umbraco.Web.Models.Mapping
}
//then we'll just use the root group's data to make the composite tab
var rootGroup = propertyGroups.Single(x => x.ParentId == null);
var rootGroup = propertyGroups.First(x => x.ParentId == null);
aggregateTabs.Add(new Tab<ContentPropertyDisplay>
{
Id = rootGroup.Id,