mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
fix json output of empty arrays
This commit is contained in:
@@ -1789,7 +1789,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$aResult['sExtraTags'] = array();
|
||||
$aResult['sExtraTags'] = (object) array();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1801,7 +1801,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$aResult['sNameDetails'] = array();
|
||||
$aResult['sNameDetails'] = (object) array();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user