diff options
author | Martin Jansen <mj@php.net> | 2002-01-31 13:41:04 +0000 |
---|---|---|
committer | Martin Jansen <mj@php.net> | 2002-01-31 13:41:04 +0000 |
commit | 2077f62d08a15dbb7fd8ef049423095a4ccae20a (patch) | |
tree | 0a4f650638ff5287878ad597da618063faa0a65b | |
parent | 98e8a7ba089e1b04b64de015f5a2dcaf13611b02 (diff) | |
download | php-git-2077f62d08a15dbb7fd8ef049423095a4ccae20a.tar.gz |
* Fix bug #15313
-rw-r--r-- | pear/HTTP.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/HTTP.php b/pear/HTTP.php index c9b8459788..b03a1e446b 100644 --- a/pear/HTTP.php +++ b/pear/HTTP.php @@ -80,7 +80,7 @@ class HTTP { * it contains a language we support. */ if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { - $accepted = split(',[[:space:]]*', $HTTP_ACCEPT_LANGUAGE); + $accepted = split(',[[:space:]]*', $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); for ($i = 0; $i < count($accepted); $i++) { if (eregi('^([a-z]+);[[:space:]]*q=([0-9\.]+)', $accepted[$i], $arr)) { $q = (double)$arr[2]; |