summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index a86a3c048..5349ad0dd 100644
--- a/program/include/rcube_shared.inc
+++ b/program/include/rcube_shared.inc
@@ -540,7 +540,7 @@ function rc_request_header($name)
else
{
$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]))
{