diff --git a/src/Provider/BrowscapPhp.php b/src/Provider/BrowscapPhp.php index c3a4c58..1b595c5 100644 --- a/src/Provider/BrowscapPhp.php +++ b/src/Provider/BrowscapPhp.php @@ -145,7 +145,7 @@ public function parse($userAgent, array $headers = []) $bot = $result->getBot(); $bot->setIsBot(true); - if (isset($resultRaw->version) && $this->isRealResult($resultRaw->version) === true) { + if (isset($resultRaw->browser) && $this->isRealResult($resultRaw->browser) === true) { $bot->setName($resultRaw->browser); }