X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/58852b3eebf712dbf0e87a2a7aa98ba6b39ef02d..c611d49941e8a097116dfb6f6d08e5491a85dcee:/website/hierarchy.php?ds=inline diff --git a/website/hierarchy.php b/website/hierarchy.php index 87e8a0af..e2db3ede 100644 --- a/website/hierarchy.php +++ b/website/hierarchy.php @@ -58,7 +58,7 @@ if (CONST_Use_Aux_Location_data) { } -$oAddressLookup = new AddressDetails($oDB, $iPlaceID, -1, $aLangPrefOrder); +$oAddressLookup = new Nominatim\AddressDetails($oDB, $iPlaceID, -1, $aLangPrefOrder); $aPlaceAddress = array_reverse($oAddressLookup->getAddressDetails()); if (empty($aPlaceAddress)) userError('Unknown place id.');