]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-json.php
fix json output of empty arrays
[nominatim.git] / lib / template / address-json.php
index c994eb02781181ae9d554e915049cd4118ab649c..ff245e145f4dac3414cd073592634c6cd933115e 100644 (file)
@@ -26,5 +26,5 @@
                if (isset($aPlace['sNameDetails'])) $aFilteredPlaces['namedetails'] = $aPlace['sNameDetails'];
        }
 
-       javascript_renderData($aFilteredPlaces, JSON_FORCE_OBJECT);
+       javascript_renderData($aFilteredPlaces);