From 11743ea322c2c93f111c003af2073d06b25e75ac Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Fri, 5 Feb 2016 13:20:10 +0000 Subject: [PATCH] Fix GetContentTypeContainer and GetMediaTypeContainer to use correct guid updated to use DocumentTypeContainerGuid, MediaTypeContainerGuid contstants in calls. --- src/Umbraco.Core/Services/ContentTypeService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Core/Services/ContentTypeService.cs b/src/Umbraco.Core/Services/ContentTypeService.cs index 5f337dc696..496e855b60 100644 --- a/src/Umbraco.Core/Services/ContentTypeService.cs +++ b/src/Umbraco.Core/Services/ContentTypeService.cs @@ -229,7 +229,7 @@ namespace Umbraco.Core.Services public EntityContainer GetContentTypeContainer(Guid containerId) { - return GetContainer(containerId, Constants.ObjectTypes.DocumentTypeGuid); + return GetContainer(containerId, Constants.ObjectTypes.DocumentTypeContainerGuid); } public IEnumerable GetContentTypeContainers(int[] containerIds) @@ -258,7 +258,7 @@ namespace Umbraco.Core.Services public EntityContainer GetMediaTypeContainer(Guid containerId) { - return GetContainer(containerId, Constants.ObjectTypes.MediaTypeGuid); + return GetContainer(containerId, Constants.ObjectTypes.MediaTypeContainerGuid); } private EntityContainer GetContainer(Guid containerId, Guid containerObjectType)