X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..b2df8e478a51ef2264efd63339f8356bd835bff5:/lib-php/template/address-xml.php
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 '