X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb141e027a459e4e32d0ad71803ba2ac90d1d6f1..7c56f24c1f83e9d19c9df723bb86335598add902:/lib/template/search-jsonv2.php?ds=inline 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']; }