Changeset b97d0e1 in github


Ignore:
Timestamp:
Jun 28, 2012 1:13:49 PM (12 months ago)
Author:
Aleksander Machniak <alec@…>
Children:
2698d7f
Parents:
d901205
Message:

Fix empty user agent string on error page for "incompatible browser" error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/utils/error.inc

    r041c93c rb97d0e1  
    2424// browser is not compatible with this application 
    2525if ($ERROR_CODE==409) { 
    26   $user_agent = $GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT']; 
     26  $user_agent = $_SERVER['HTTP_USER_AGENT']; 
    2727  $__error_title = 'Your browser does not suit the requirements for this application'; 
    2828  $__error_text = <<<EOF 
Note: See TracChangeset for help on using the changeset viewer.