Fixes U4-1974

This commit is contained in:
Morten Christensen
2013-03-21 18:45:06 -01:00
parent b4d5658d45
commit f0699afb6e

View File

@@ -632,10 +632,17 @@ namespace umbraco.cms.businesslogic
if (value != MasterContentType)
{
//TODO: Add support for multiple masters
foreach (var mct in MasterContentTypes)
/*foreach (var mct in MasterContentTypes)
{
RemoveParentContentType(mct);
}*/
if (MasterContentTypes.Count > 0)
{
var masterId = MasterContentTypes[0];
RemoveParentContentType(masterId);
}
AddParentContentType(value);
}
}