X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6a7e0d652b1d40a397e1c1386d500101796676c4..cc141bf1a551368101474cfac02a231719224710:/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 '