mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
fix json output of empty arrays
This commit is contained in:
@@ -26,5 +26,5 @@
|
||||
if (isset($aPlace['sNameDetails'])) $aFilteredPlaces['namedetails'] = $aPlace['sNameDetails'];
|
||||
}
|
||||
|
||||
javascript_renderData($aFilteredPlaces, JSON_FORCE_OBJECT);
|
||||
javascript_renderData($aFilteredPlaces);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user