X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6b65b9086b4434c6cc69bf4c8a3f778af5b91115..54ab72a939e5bb83edc50244c5918223629f9085:/lib/template/address-jsonv2.php?ds=sidebyside diff --git a/lib/template/address-jsonv2.php b/lib/template/address-jsonv2.php index 4e751a0d..00f8750d 100644 --- a/lib/template/address-jsonv2.php +++ b/lib/template/address-jsonv2.php @@ -3,7 +3,7 @@ if (!sizeof($aPlace)) { - if ($sError) + if (isset($sError)) $aFilteredPlaces['error'] = $sError; else $aFilteredPlaces['error'] = 'Unable to geocode';