summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 050c1f7cd..81adc2b4e 100644
--- a/program/steps/utils/error.inc
+++ b/program/steps/utils/error.inc
@@ -25,7 +25,7 @@
// 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 />