X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/44ee8d9ce34a4a60113b6600dcc7b2f5b24c7a0e..c4e72e6ca9a72a9e151ca189cb8febacae36ecfa:/lib/ParameterParser.php diff --git a/lib/ParameterParser.php b/lib/ParameterParser.php index 5177a08e..2eed1629 100644 --- a/lib/ParameterParser.php +++ b/lib/ParameterParser.php @@ -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();