From b97d0e11b55fc2bc8ba27b44435b8b3599dd3073 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 28 Jun 2012 19:13:49 +0200 Subject: Fix empty user agent string on error page for "incompatible browser" error --- program/steps/utils/error.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = <<Supported browsers:
-- cgit v1.2.3