diff options
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 693a2c860..8396f99d6 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -979,7 +979,7 @@ class select extends base_form_element // provide details about the client's browser function rcube_browser() { - global $HTTP_USER_AGENT; + $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT']; $bw['ver'] = 0; $bw['win'] = stristr($HTTP_USER_AGENT, 'win'); |