Browse Source

Fixed note from last commit, but NOT tested, sorry not an Opera regular

pdontthink 18 years ago
parent
commit
9479a2ffdb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions/template.php

+ 2 - 2
functions/template.php

@@ -47,8 +47,8 @@ $xhtml_end='';
         $browser = 'msie4';
         $dom_browser = false;
         $is_IE = true;
-//FIXME: this fails for Opera because its user agent also contains MSIE
-    } elseif (stristr($browser_user_agent, "msie")) {
+    } elseif (stristr($browser_user_agent, "msie") 
+           && stristr($browser_user_agent, 'opera') === FALSE) {
         $browser = 'msie';
         $dom_browser = true;
         $is_IE = true;