Nominatim/lib-php/template
Sarah Hoffmann fef1bbb1a7 always use object type for details keywords
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.
2021-05-17 16:36:32 +02:00
..
address-geocodejson.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
address-geojson.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
address-json.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
address-xml.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
details-json.php always use object type for details keywords 2021-05-17 16:36:32 +02:00
error-json.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
error-xml.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
search-batch-json.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
search-geocodejson.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
search-geojson.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
search-json.php rename lib to lib-php 2021-02-09 11:52:07 +01:00
search-xml.php rename lib to lib-php 2021-02-09 11:52:07 +01:00