X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/500c61685b16fd1d51e7b5f4738c788a9d00eab4..27af9b102c2d6167b9025d594f8cb75e4dd76a03:/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 '