Aleksander Machniak
2012-06-28 83d5540ab4eb7caf770fdae8d9b1320a411c8cc2
Fix empty user agent string on error page for "incompatible browser" error
1 files modified
2 ■■■ changed files
program/steps/utils/error.inc 2 ●●● patch | view | raw | blame | history
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 />