Project

General

Profile

Bug #23074 » bug_14970_v2.diff

Administrator Admin, 2010-07-07 10:12

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'] = '';
$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
(4-4/4)