projects
/
php-utility-classes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e78a753
)
fix Gecko version for Firefox 110 and later
author
Robert Kaiser
<kairo@kairo.at>
Sat, 7 Jan 2023 17:20:01 +0000
(18:20 +0100)
committer
Robert Kaiser
<kairo@kairo.at>
Sat, 7 Jan 2023 17:20:01 +0000
(18:20 +0100)
classes/useragent.php-class
patch
|
blob
|
blame
|
history
diff --git
a/classes/useragent.php-class
b/classes/useragent.php-class
index 9c95c6d1d8f9f65653ec55ec1f86cf2aaf9de3cd..cf38a17c56f1c4329e6767697796118f0913e1af 100755
(executable)
--- a/
classes/useragent.php-class
+++ b/
classes/useragent.php-class
@@
-1229,6
+1229,9
@@
class userAgent {
$this->uadata['lang'] = null;
$this->uadata['eng_version'] = null;
}
+ if (($this->brand == 'Firefox') && (intval($this->version) >= 110)) {
+ $this->uadata['eng_version'] = $this->version;
+ }
}
elseif ($this->hasEngine('edgehtml')) {
if (preg_match('#Mozilla/5.0 \(([^;]+); (WOW64|Win64); ([^\);]+)\)#', $this->uastring, $regs)) {