]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-xml.php
more isset checks for PHP variables
[nominatim.git] / lib / template / address-xml.php
index 75f69e1563c2a96cc8d27dddfb205a226680dcf8..fcd90b85e63cc6b9ea55c2accde01763244bebfa 100644 (file)
@@ -14,7 +14,7 @@
 
        if (!sizeof($aPlace))
        {
-               if ($sError)
+               if (isset($sError))
                        echo "<error>$sError</error>";
                else
                        echo "<error>Unable to geocode</error>";