X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9549bda474c704dc763856924a03e28cd255419c..539d187b5c5d45d6ac9dfd5ad52b7ec35ed73e0d:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php index 70779dd7..c155fa57 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -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);