X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ad89c1f0ca8ba72a820cbce244dc7e5a7a2d5a52..fa1f23edfbd0672ae430722152314ecc69615b56:/lib/template/address-xml.php
diff --git a/lib/template/address-xml.php b/lib/template/address-xml.php
index 75f69e15..fcd90b85 100644
--- a/lib/template/address-xml.php
+++ b/lib/template/address-xml.php
@@ -14,7 +14,7 @@
if (!sizeof($aPlace))
{
- if ($sError)
+ if (isset($sError))
echo "$sError";
else
echo "Unable to geocode";