forked from hans/Nominatim
more isset checks for PHP variables
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
if (!sizeof($aPlace))
|
||||
{
|
||||
if ($sError)
|
||||
if (isset($sError))
|
||||
echo "<error>$sError</error>";
|
||||
else
|
||||
echo "<error>Unable to geocode</error>";
|
||||
|
||||
Reference in New Issue
Block a user