]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
Merge branch 'patch-1' of https://github.com/Firefishy/Nominatim
[nominatim.git] / website / reverse.php
index 70779dd714efbe647cbf5d549481e5c16cf78828..c155fa573030fa54cb5a71629727b808dc2be972 100755 (executable)
@@ -28,8 +28,8 @@
        $bShowAddressDetails = true;
        if (isset($_GET['addressdetails'])) $bShowAddressDetails = (bool)$_GET['addressdetails'];
 
-        // Prefered language
-        $aLangPrefOrder = getPrefferedLangauges();
+        // Preferred language
+        $aLangPrefOrder = getPreferredLanguages();
         $sLanguagePrefArraySQL = "ARRAY[".join(',',array_map("getDBQuoted",$aLangPrefOrder))."]";
 
        $hLog = logStart($oDB, 'reverse', $_SERVER['QUERY_STRING'], $aLangPrefOrder);