Merge with 6.0.1

This commit is contained in:
Shannon Deminick
2013-02-01 19:43:10 +06:00
6 changed files with 32 additions and 35 deletions

View File

@@ -418,7 +418,7 @@ namespace Umbraco.Core.Models
//Check for umbracoUrlName convention
if (property.Alias == "umbracoUrlName" && property.Value != null &&
property.Value.ToString().Trim() != string.Empty)
xml.SetAttributeValue("urlName", property.Value);
xml.SetAttributeValue("urlName", property.Value.ToString().FormatUrl().ToLower());
}
return xml;