Bug #23074 » bug_14970.diff
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
|