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:
@@ -127,7 +127,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$aPlace['sExtraTags'] = array();
|
||||
$aPlace['sExtraTags'] = (object) array();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$aPlace['sNameDetails'] = array();
|
||||
$aPlace['sNameDetails'] = (object) array();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user