From 8eefbb2158c43b51a8c33e6c480cbe61539b9535 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 27 Aug 2012 04:16:04 -0400 Subject: [PATCH] Add option to enable HTML editor on forwarding (#1488517) --- program/steps/utils/error.inc | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/program/steps/utils/error.inc b/program/steps/utils/error.inc index 0006744..e6e409a 100644 --- a/program/steps/utils/error.inc +++ b/program/steps/utils/error.inc @@ -17,16 +17,13 @@ +-----------------------------------------------------------------------+ | Author: Thomas Bruederli <roundcube@gmail.com> | +-----------------------------------------------------------------------+ - - $Id$ - */ $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 = <<<EOF <i>Supported browsers:</i><br /> -- Gitblit v1.9.1