Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DevicesDetection/Columns/Os.php')
-rw-r--r--plugins/DevicesDetection/Columns/Os.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/DevicesDetection/Columns/Os.php b/plugins/DevicesDetection/Columns/Os.php
index 63ed9c342e..48c617de09 100644
--- a/plugins/DevicesDetection/Columns/Os.php
+++ b/plugins/DevicesDetection/Columns/Os.php
@@ -78,8 +78,7 @@ class Os extends Base
*/
public function onNewVisit(Request $request, Visitor $visitor, $action)
{
- $userAgent = $request->getUserAgent();
- $parser = $this->getUAParser($userAgent);
+ $parser = $this->getUAParser($request->getUserAgent(), $request->getClientHints());
if ($parser->isBot()) {
$os = Settings::OS_BOT;