Browse Source

Merge branch 'SomeFixes' of https://github.com/Spuds/Playpen

Spuds 12 years ago
parent
commit
bf6cc5ddce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Class-BrowserDetect.php

+ 1 - 1
Sources/Class-BrowserDetect.php

@@ -122,7 +122,7 @@ class browser_detector
 	function isFirefox()
 	{
 		if (!isset($this->_browsers['is_firefox']))
-			$this->_browsers['is_firefox'] = preg_match('~(?:Firefox|Ice[wW]easel|IceCat|Shiretoko|Minefield)/~', $_SERVER['HTTP_USER_AGENT']) === 1;
+			$this->_browsers['is_firefox'] = preg_match('~(?:Firefox|Ice[wW]easel|IceCat|Shiretoko|Minefield)/~', $_SERVER['HTTP_USER_AGENT']) === 1 && $this->isGecko();
 		return $this->_browsers['is_firefox'];
 	}