]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ParameterParser.php
add develop section to documentation
[nominatim.git] / lib / ParameterParser.php
index 5177a08e81eea3194a8e0eaedb15127e9db1c47b..2eed1629b04742ad274c6ac9f5cf8d9bf1ebfbd3 100644 (file)
@@ -82,8 +82,8 @@ class ParameterParser
 
     public function getPreferredLanguages($sFallback = null)
     {
-        if ($sFallback === null && isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) {
-            $sFallback = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
+        if ($sFallback === null && isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
+            $sFallback = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
         }
 
         $aLanguages = array();