From 437e1c9114e07ddabd7fb59fb5d793488fa696cd Mon Sep 17 00:00:00 2001 From: robert Date: Sat, 11 Mar 2006 14:43:27 +0000 Subject: [PATCH] some small fixes for notices --- include/classes/useragent.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index b1e815a..2f7569a 100755 --- 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; -- 2.43.0