]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/hierarchy.php
wikipedia: wget didnt download, skip index generation
[nominatim.git] / website / hierarchy.php
index 87e8a0afbb258fdaefd03d2169baac6d5522fcbc..e2db3edea3b54d754d80fb08266f3a5e6b05fb7b 100644 (file)
@@ -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.');
 $aPlaceAddress = array_reverse($oAddressLookup->getAddressDetails());
 
 if (empty($aPlaceAddress)) userError('Unknown place id.');