]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/details.php
fix permissions of gb_postcode table
[nominatim.git] / website / details.php
index ff90cd98ba7dd92a5d9e294c3206dabf649139db..b7a38b2d7cc7c1cea3c000835de8e68b8393475a 100755 (executable)
@@ -33,7 +33,7 @@
        $iParentPlaceID = $oDB->getOne('select parent_place_id from location_property_aux where place_id = '.$iPlaceID);
        if ($iParentPlaceID) $iPlaceID = $iParentPlaceID;
 
-       $aLangPrefOrder = getPrefferedLangauges();
+       $aLangPrefOrder = getPreferredLanguages();
        $sLanguagePrefArraySQL = "ARRAY[".join(',',array_map("getDBQuoted",$aLangPrefOrder))."]";
 
        $hLog = logStart($oDB, 'details', $_SERVER['QUERY_STRING'], $aLangPrefOrder);