]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
Fix typos in function name
[nominatim.git] / website / search.php
index 646eefe6a07fcaff6c0106918e3ee4bed88518a5..a23ed9d7379dc7e333aae1ae3fb4c45e8182dd3c 100755 (executable)
@@ -37,7 +37,7 @@
        $bShowAddressDetails = isset($_GET['addressdetails']) && $_GET['addressdetails'];
 
        // Prefered language    
-       $aLangPrefOrder = getPrefferedLangauges();
+       $aLangPrefOrder = getPreferredLanguages();
        if (isset($aLangPrefOrder['name:de'])) $bReverseInPlan = true;
        if (isset($aLangPrefOrder['name:ru'])) $bReverseInPlan = true;
        if (isset($aLangPrefOrder['name:ja'])) $bReverseInPlan = true;