X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/44ee8d9ce34a4a60113b6600dcc7b2f5b24c7a0e..118517b076c048b2e22a6fdf1394d127afcfa262:/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();