Fixes U4-1483
This commit is contained in:
@@ -699,11 +699,13 @@ namespace umbraco.cms.businesslogic
|
||||
continue;
|
||||
|
||||
//get the propertyId
|
||||
var property = propData
|
||||
.Where(x => x.PropertyTypeId == pt.Id)
|
||||
.SingleOrDefault();
|
||||
var property = propData.SingleOrDefault(x => x.PropertyTypeId == pt.Id);
|
||||
if (property == null)
|
||||
continue;
|
||||
{
|
||||
//continue;
|
||||
var prop = Property.MakeNew(pt, this, Version);
|
||||
property = new { Id = prop.Id, PropertyTypeId = pt.Id };
|
||||
}
|
||||
var propertyId = property.Id;
|
||||
|
||||
Property p = null;
|
||||
|
||||
Reference in New Issue
Block a user