Merge with 4.11.7

This commit is contained in:
Sebastiaan Janssen
2013-04-09 11:37:37 -02:00

View File

@@ -51,18 +51,16 @@ namespace umbraco.cms.businesslogic.datatype
{
get
{
if (_controlId != Guid.Empty)
{
cms.businesslogic.datatype.controls.Factory f = new cms.businesslogic.datatype.controls.Factory();
interfaces.IDataType dt = f.DataType(_controlId);
if (_controlId == Guid.Empty)
return null;
controls.Factory factory = new controls.Factory();
var dt = factory.DataType(_controlId);
if (dt != null)
dt.DataTypeDefinitionId = Id;
return dt;
}
else
{
return null;
}
return dt;
}
set
{