mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-27 23:15:12 +03:00
fef1bbb1a7
When name and address is empty, the keywords field in the response of the details API would be an array because that is what PHP's json_encode defaults to with empty array(). This default can only be changed globally per json_encode call and that might cause unintended colleteral damage. Work around the issue by making name and address an empty array instead of keywords. Fixes #2329. |
||
---|---|---|
.. | ||
address-geocodejson.php | ||
address-geojson.php | ||
address-json.php | ||
address-xml.php | ||
details-json.php | ||
error-json.php | ||
error-xml.php | ||
search-batch-json.php | ||
search-geocodejson.php | ||
search-geojson.php | ||
search-json.php | ||
search-xml.php |