Skip to content
Permalink
Browse files

fix brackets (#5692)

  • Loading branch information...
tomkralidis committed Oct 30, 2018
1 parent c95be7d commit 8765e135e9658cd989603e5c81283ffee3faf681
Showing with 2 additions and 1 deletion.
  1. +2 −1 mapmetadata.c
@@ -455,10 +455,11 @@ xmlNodePtr _msMetadataGetContact(xmlNsPtr namespace, char *contact_element, mapO
xmlAddChild(psCIAddressNode, _msMetadataGetCharacterString(namespace, "electronicMailAddress", value));

value = (char *)msOWSLookupMetadata(&(map->web.metadata), "MCFO", "onlineresource");
if (value)
if (value) {
psORNode = xmlNewChild(psCINode2, namespace, BAD_CAST "onlineResource", NULL);
psORNode2 = xmlNewChild(psORNode, namespace, BAD_CAST "CI_OnlineResource", NULL);
xmlAddChild(psORNode2, _msMetadataGetURL(namespace, "linkage", value));
}

xmlAddChild(psCNode, _msMetadataGetCodeList(namespace, "role", "CI_RoleCode", "pointOfContact"));

0 comments on commit 8765e13

Please sign in to comment.
You can’t perform that action at this time.