summaryrefslogtreecommitdiff
path: root/program/steps/utils
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-28 19:13:49 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-28 19:13:49 +0200
commitb97d0e11b55fc2bc8ba27b44435b8b3599dd3073 (patch)
tree69d9d9d747f53f1a6f22b3044d5fe447887dc08d /program/steps/utils
parentd9012055cbc94e478c41c975c2d22843d847b065 (diff)
Fix empty user agent string on error page for "incompatible browser" error
Diffstat (limited to 'program/steps/utils')
-rw-r--r--program/steps/utils/error.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/utils/error.inc b/program/steps/utils/error.inc
index 126cf2ef7..e6e409a21 100644
--- a/program/steps/utils/error.inc
+++ b/program/steps/utils/error.inc
@@ -23,7 +23,7 @@ $rcmail = rcmail::get_instance();
// browser is not compatible with this application
if ($ERROR_CODE==409) {
- $user_agent = $GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT'];
+ $user_agent = $_SERVER['HTTP_USER_AGENT'];
$__error_title = 'Your browser does not suit the requirements for this application';
$__error_text = <<<EOF
<i>Supported browsers:</i><br />