don't detect IE as a bot
[php-utility-classes.git] / include / classes / useragent.php-class
index b8d83d62ab75abc376b4067d43961d9e0270a94f..1185c502ddbf62c69f87f458248308f092e02cba 100755 (executable)
@@ -241,7 +241,7 @@ class userAgent {
       $this->version = "";
       $this->bot = true;
     }
-    elseif (ereg("^Mozilla", $this->uastring)) {
+    elseif (ereg("^Mozilla[\s ]*$", $this->uastring)) {
       $this->brand = "Unknown bot (Mozilla)";
       $this->version = "";
       $this->bot = true;