diff --git a/src/Umbraco.Web/Models/Mapping/ContentTypeModelMapper.cs b/src/Umbraco.Web/Models/Mapping/ContentTypeModelMapper.cs index 5b6432dc4b..d6d8712c05 100644 --- a/src/Umbraco.Web/Models/Mapping/ContentTypeModelMapper.cs +++ b/src/Umbraco.Web/Models/Mapping/ContentTypeModelMapper.cs @@ -69,7 +69,7 @@ namespace Umbraco.Web.Models.Mapping dest.RemoveContentType(rem); foreach(var a in add){ - var add_ct = ApplicationContext.Current.Services.ContentTypeService.GetContentType(a); + var add_ct = applicationContext.Services.ContentTypeService.GetContentType(a); if(add_ct != null) dest.AddContentType(add_ct); }