X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/95a681f1280accf7c5c4f4cf0e04a7206088c381..fb7d65b8c377fd5c9a74fef1ef800c9bc8e2abc3:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index 8b94e549..80561d27 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1789,7 +1789,7 @@ } else { - $aResult['sExtraTags'] = array(); + $aResult['sExtraTags'] = (object) array(); } } @@ -1801,7 +1801,7 @@ } else { - $aResult['sNameDetails'] = array(); + $aResult['sNameDetails'] = (object) array(); } }