issue with mapping ysod

This commit is contained in:
Shannon
2017-06-13 15:47:39 +02:00
parent 5aeb8ed74d
commit 716629235e

View File

@@ -227,7 +227,7 @@ namespace Umbraco.Web.Models.Mapping
private void MapUserGroupBasic(ServiceContext services, dynamic group, UserGroupBasic display)
{
var allSections = services.SectionService.GetSections();
display.Sections = allSections.Where(x => group.AllowedSections.Contains(x.Alias)).Select(Mapper.Map<ContentEditing.Section>);
display.Sections = allSections.Where(x => Enumerable.Contains(group.AllowedSections, x.Alias)).Select(Mapper.Map<ContentEditing.Section>);
if (group.StartMediaId > 0)
{
display.StartMediaId = Mapper.Map<EntityBasic>(