mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
#2005 - Fixed fatal error due to browscap.ini capitalisation error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48507 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
59a60db5fe
commit
d047572c6a
@ -273,7 +273,7 @@ class Browscap
|
||||
|
||||
$browser = $value = $browser + $this->_browsers[$key];
|
||||
|
||||
while (array_key_exists(3, $value)) {
|
||||
while (array_key_exists(3, $value) && $value[3] != null && $value[3] != '') {
|
||||
$value = $this->_browsers[$value[3]];
|
||||
$browser += $value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user