X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6238ae6032c6f8005dad34d3369df2d280d1e5df..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();