summaryrefslogtreecommitdiff
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:40:59 +0200
commit83d5540ab4eb7caf770fdae8d9b1320a411c8cc2 (patch)
treec7ed4b16c64b01428067db670583f92cf23df9d7
parentd1f74329555af768ff9aa7683934b905fd89a1d4 (diff)
Fix empty user agent string on error page for "incompatible browser" error
-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 />