X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb141e027a459e4e32d0ad71803ba2ac90d1d6f1..73fdf5fae2755ba8c0170ff4b7ebce0aab5c08a4:/lib/template/search-jsonv2.php diff --git a/lib/template/search-jsonv2.php b/lib/template/search-jsonv2.php index 671edde4..e1552a15 100644 --- a/lib/template/search-jsonv2.php +++ b/lib/template/search-jsonv2.php @@ -40,7 +40,7 @@ $aPlace['category'] = $aPointDetails['class']; $aPlace['type'] = $aPointDetails['type']; - if ($aPointDetails['icon']) + if (isset($aPointDetails['icon'])) { $aPlace['icon'] = $aPointDetails['icon']; }