summaryrefslogtreecommitdiff
path: root/program/include/rcube_browser.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_browser.php')
-rw-r--r--program/include/rcube_browser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_browser.php b/program/include/rcube_browser.php
index af393d63e..0d4766417 100644
--- a/program/include/rcube_browser.php
+++ b/program/include/rcube_browser.php
@@ -38,11 +38,11 @@ class rcube_browser
$this->linux = stristr($HTTP_USER_AGENT, 'linux');
$this->unix = stristr($HTTP_USER_AGENT, 'unix');
+ $this->opera = stristr($HTTP_USER_AGENT, 'opera');
$this->ns4 = stristr($HTTP_USER_AGENT, 'mozilla/4') && !stristr($HTTP_USER_AGENT, 'msie');
$this->ns = ($this->ns4 || stristr($HTTP_USER_AGENT, 'netscape'));
- $this->ie = stristr($HTTP_USER_AGENT, 'msie');
+ $this->ie = stristr($HTTP_USER_AGENT, 'compatible; msie') && !$this->opera;
$this->mz = stristr($HTTP_USER_AGENT, 'mozilla/5');
- $this->opera = stristr($HTTP_USER_AGENT, 'opera');
$this->safari = stristr($HTTP_USER_AGENT, 'safari');
if ($this->ns) {