Actually save the domain
This commit is contained in:
@@ -114,7 +114,10 @@ namespace Umbraco.Web.WebServices
|
||||
names.Add(name);
|
||||
var domain = domains.FirstOrDefault(d => d.DomainName.InvariantEquals(domainModel.Name));
|
||||
if (domain != null)
|
||||
{
|
||||
domain.LanguageId = language.Id;
|
||||
Services.DomainService.Save(domain);
|
||||
}
|
||||
else if (Services.DomainService.Exists(domainModel.Name))
|
||||
{
|
||||
domainModel.Duplicate = true;
|
||||
|
||||
Reference in New Issue
Block a user