X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e598e2ceed58f03942f12203611ccc2e20fec66d..5014ebed295703844df0db490f950e6f71aca142:/lib/lib.php?ds=sidebyside diff --git a/lib/lib.php b/lib/lib.php index 5d02ef89..1959ded3 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -94,7 +94,7 @@ return ($a['foundorder'] < $b['foundorder']?-1:1); } - function getPrefferedLangauges() + function getPreferredLanguages() { // If we have been provided the value in $_GET it overrides browser value if (isset($_GET['accept-language']) && $_GET['accept-language']) @@ -273,7 +273,7 @@ return false; /* - $fTotalFac is a suprisingly good indicator of accuracy + $fTotalFac is a surprisingly good indicator of accuracy $iZoom = 18 + round(log($fTotalFac,32)); $iZoom = max(13,min(18,$iZoom)); */