some small fixes for notices
authorrobert <robert>
Sat, 11 Mar 2006 14:43:27 +0000 (14:43 +0000)
committerrobert <robert>
Sat, 11 Mar 2006 14:43:27 +0000 (14:43 +0000)
include/classes/useragent.php-class

index b1e815a257e91c688e510dc5bd92dffc18e1f11c..2f7569a7dacc9680991cf6fb10dc273ccbfd6ac2 100755 (executable)
@@ -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;