summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-21 11:19:13 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-21 11:19:13 +0000
commit4c3144b911456c9dfab765643fbdb11e493e0254 (patch)
tree027f171a2e0bdbe23699583802bd5aed62436fcd /roundcubemail/program/include
parented9260dabe67a2ae39fd058b6915e4e9e382fe22 (diff)
- Fixed IE/FF detection (#1487838)
git-svn-id: https://svn.roundcube.net/trunk@4614 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/rcube_browser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_browser.php b/roundcubemail/program/include/rcube_browser.php
index c5f1b8a7a..108dd5507 100644
--- a/roundcubemail/program/include/rcube_browser.php
+++ b/roundcubemail/program/include/rcube_browser.php
@@ -42,7 +42,7 @@ class rcube_browser
$this->ns4 = strstr($HTTP_USER_AGENT, 'mozilla/4') && !strstr($HTTP_USER_AGENT, 'msie');
$this->ns = ($this->ns4 || strstr($HTTP_USER_AGENT, 'netscape'));
$this->ie = !$this->opera && strstr($HTTP_USER_AGENT, 'compatible; msie');
- $this->mz = strstr($HTTP_USER_AGENT, 'mozilla/5');
+ $this->mz = !$this->ie && strstr($HTTP_USER_AGENT, 'mozilla/5');
$this->chrome = strstr($HTTP_USER_AGENT, 'chrome');
$this->khtml = strstr($HTTP_USER_AGENT, 'khtml');
$this->safari = !$this->chrome && ($this->khtml || strstr($HTTP_USER_AGENT, 'safari'));