]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / search-jsonv2.php
index 671edde4b8fcaafcbf4e3f7bb53fa9fed32bb028..e1552a155ad53ec489791c78a9daa2927820be62 100644 (file)
@@ -40,7 +40,7 @@
 
                $aPlace['category'] = $aPointDetails['class'];
                $aPlace['type'] = $aPointDetails['type'];
-               if ($aPointDetails['icon'])
+               if (isset($aPointDetails['icon']))
                {
                        $aPlace['icon'] = $aPointDetails['icon'];
                }