# bugfix (thanks yllar)

release-0.6
till 17 years ago
parent 234c0d0ab0
commit db401bfb0a

@ -540,7 +540,7 @@ function rc_request_header($name)
else else
{ {
$key = 'HTTP_' . strtoupper(strtr($name, '-', '_')); $key = 'HTTP_' . strtoupper(strtr($name, '-', '_'));
$hdrs = array_change_key_case($_SERVER[$key], CASE_UPPER); $hdrs = array_change_key_case($_SERVER, CASE_UPPER);
} }
if (isset($hdrs[$key])) if (isset($hdrs[$key]))
{ {

Loading…
Cancel
Save