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:
5502082
)
some small fixes for notices
author
robert
<robert>
Sat, 11 Mar 2006 14:43:27 +0000
(14:43 +0000)
committer
robert
<robert>
Sat, 11 Mar 2006 14:43:27 +0000
(14:43 +0000)
include/classes/useragent.php-class
patch
|
blob
|
blame
|
history
diff --git
a/include/classes/useragent.php-class
b/include/classes/useragent.php-class
index b1e815a257e91c688e510dc5bd92dffc18e1f11c..2f7569a7dacc9680991cf6fb10dc273ccbfd6ac2 100755
(executable)
--- a/
include/classes/useragent.php-class
+++ b/
include/classes/useragent.php-class
@@
-454,7
+454,7
@@
class userAgent {
foreach ($accLcomp as $lcomp) {
if (strlen($lcomp)) {
$ldef = explode(';', $lcomp);
- $accLang[$ldef[0]] = (float)((strpos($ldef[1],'q=')===0)?substr($ldef[1],2):1);
+ $accLang[$ldef[0]] = (float)((strpos(
@
$ldef[1],'q=')===0)?substr($ldef[1],2):1);
}
}
$this->uadata['accept-languages'] = $accLang;