X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9c0ca064b833ad39eac8ffc2447331d732d1a7d0..fbaca0c19e66dd8a5383104ca65c63b4b72c5309:/lib/template/address-json.php diff --git a/lib/template/address-json.php b/lib/template/address-json.php index c05bce29..0a1d074a 100644 --- a/lib/template/address-json.php +++ b/lib/template/address-json.php @@ -3,7 +3,7 @@ if (!sizeof($aPlace)) { - if ($sError) + if (isset($sError)) $aFilteredPlaces['error'] = $sError; else $aFilteredPlaces['error'] = 'Unable to geocode';