Make sure to use the specified content template name when creating content templates from content
This commit is contained in:
committed by
Sebastiaan Janssen
parent
16322bed31
commit
86c56ae844
@@ -2889,15 +2889,12 @@ namespace Umbraco.Core.Services.Implement
|
||||
content.SetValue(property.Alias, property.GetValue(propertyCulture), propertyCulture);
|
||||
}
|
||||
|
||||
content.Name = blueprint.Name;
|
||||
if (!string.IsNullOrEmpty(culture))
|
||||
{
|
||||
content.SetCultureInfo(culture, blueprint.GetCultureName(culture), now);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return content;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user