small change in umbraco.page related to xml schema changes
[TFS Changeset #65142]
This commit is contained in:
@@ -130,7 +130,7 @@ namespace umbraco
|
||||
try
|
||||
{
|
||||
nodeType = Convert.ToInt32(xmlNode.Attributes.GetNamedItem("nodeType").Value);
|
||||
nodeTypeAlias = xmlNode.Attributes.GetNamedItem("nodeTypeAlias").Value;
|
||||
nodeTypeAlias = UmbracoSettings.UseLegacyXmlSchema ? xmlNode.Attributes.GetNamedItem("nodeTypeAlias").Value : xmlNode.Name;
|
||||
elements.Add("nodeType", nodeType);
|
||||
elements.Add("nodeTypeAlias", nodeTypeAlias);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user