X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/80f6aca0c22984b79e24a19bc602258dd3caeb34..73953cbac95847740339d7a5ee3c0e5f142d93c5:/lib-php/template/address-xml.php?ds=sidebyside diff --git a/lib-php/template/address-xml.php b/lib-php/template/address-xml.php index ab0bc72c..cf045ab9 100644 --- a/lib-php/template/address-xml.php +++ b/lib-php/template/address-xml.php @@ -12,17 +12,29 @@ echo " querystring='".htmlspecialchars($_SERVER['QUERY_STRING'], ENT_QUOTES)."'" echo ">\n"; if (empty($aPlace)) { - if (isset($sError)) + if (isset($sError)) { echo "$sError"; - else echo 'Unable to geocode'; + } else { + echo 'Unable to geocode'; + } } else { echo '