]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/lib.php
fix format error in polygon output
[nominatim.git] / lib / lib.php
index 5d02ef89a1c530a7f3e0b0fa53accdde394963af..1959ded3d4748738215e4349f3bb35a1aad25267 100644 (file)
@@ -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'])
                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));
                */