Project

General

Profile

Bug #23074 » bug_14970.diff

Administrator Admin, 2010-07-05 20:00

View differences:

t3lib/utility/class.t3lib_utility_client.php (Arbeitskopie)
// Find all phrases (or return empty array if none found)
if (!preg_match_all($pattern, strtolower($userAgent), $matches)) {
$browserInfo['browser'] = 'unknown';
$browserInfo['version'] = 'unknown';
$browserInfo['all'] = array();
} else {
// Since some UAs have more than one phrase (e.g Firefox has a Gecko phrase,
// Opera 7,8 have a MSIE phrase), use the last one found (the right-most one
(3-3/4)