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/BrowserEngine.php')
-rw-r--r--plugins/DevicesDetection/Columns/BrowserEngine.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/DevicesDetection/Columns/BrowserEngine.php b/plugins/DevicesDetection/Columns/BrowserEngine.php
index d69d70c976..0e5cfd453c 100644
--- a/plugins/DevicesDetection/Columns/BrowserEngine.php
+++ b/plugins/DevicesDetection/Columns/BrowserEngine.php
@@ -37,8 +37,7 @@ class BrowserEngine extends Base
*/
public function onNewVisit(Request $request, Visitor $visitor, $action)
{
- $userAgent = $request->getUserAgent();
- $parser = $this->getUAParser($userAgent);
+ $parser = $this->getUAParser($request->getUserAgent(), $request->getClientHints());
$aBrowserInfo = $parser->getClient();