X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Fuseragent.php-class;h=1185c502ddbf62c69f87f458248308f092e02cba;hp=b8d83d62ab75abc376b4067d43961d9e0270a94f;hb=74d5a0734ca365ca9fb67511b7003ec2c14e7060;hpb=a8464009aaa1e6f4f3e1125345309e504a121e06;ds=sidebyside diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index b8d83d6..1185c50 100755 --- a/include/classes/useragent.php-class +++ b/include/classes/useragent.php-class @@ -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;