X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/86ca377b1a1505c7a599746c095bc83156e3997d..e0e812d09b047ccc5cb6b0aaa0239421f94cd369:/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(); } }