Revision: 20983
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20983
Author: sigurdne
Date: 2010-01-26 13:12:16 +0000 (Tue, 26 Jan 2010)
Log Message:
-----------
Fix: Notice
Modified Paths:
--------------
people/sigurdne/modules/phpgwapi/trunk/inc/class.browser.inc.php
Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.browser.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.browser.inc.php
2010-01-22 09:56:10 UTC (rev 20982)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.browser.inc.php
2010-01-26 13:12:16 UTC (rev 20983)
@@ -50,7 +50,7 @@
$this->BROWSER_VER = $log_version[1];
$this->BROWSER_AGENT = 'iCab';
}
- else if(strpos($HTTP_USER_AGENT,'Gecko') !== false)
+ else if(preg_match('/Gecko/([0-9]{8})/',
$HTTP_USER_AGENT, $log_version))
{
$this->BROWSER_VER = $log_version[1];
$this->BROWSER_AGENT = 'MOZILLA';
_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs