X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e90087a063698139beb087f24c068ce04171e8bf..2338d04e9f0cd8f0ca294a1f6664d641d1522b25:/lib/PlaceLookup.php diff --git a/lib/PlaceLookup.php b/lib/PlaceLookup.php index 23b97707..c5129fee 100644 --- a/lib/PlaceLookup.php +++ b/lib/PlaceLookup.php @@ -127,7 +127,7 @@ } else { - $aPlace['sExtraTags'] = array(); + $aPlace['sExtraTags'] = (object) array(); } } @@ -139,7 +139,7 @@ } else { - $aPlace['sNameDetails'] = array(); + $aPlace['sNameDetails'] = (object) array(); } }