diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2022-07-03 22:35:37 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2022-07-03 22:35:37 +0300 |
commit | 8e20dcd90f24356229f6d858cc291c622ce2b749 (patch) | |
tree | 2d22895ed81f31df3cf85d8f7f30852a5d0251c0 /plugins/DevicesDetection | |
parent | 80692ca61c645915d00f5aa2b8b0a7894ffe8bba (diff) | |
parent | 807e3a07e5428552057ad442224378141efc6cc3 (diff) |
Merge branch '5.x-dev' into vue-remove-angularjs-Referrers
Diffstat (limited to 'plugins/DevicesDetection')
-rw-r--r-- | plugins/DevicesDetection/Columns/BrowserVersion.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/DevicesDetection/Columns/BrowserVersion.php b/plugins/DevicesDetection/Columns/BrowserVersion.php index d8df75b4fc..9b2de1de0b 100644 --- a/plugins/DevicesDetection/Columns/BrowserVersion.php +++ b/plugins/DevicesDetection/Columns/BrowserVersion.php @@ -1,4 +1,5 @@ <?php + /** * Matomo - free/libre analytics platform * @@ -6,6 +7,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ + namespace Piwik\Plugins\DevicesDetection\Columns; use Piwik\Tracker\Request; @@ -36,8 +38,7 @@ class BrowserVersion extends Base $aBrowserInfo = $parser->getClient(); if (!empty($aBrowserInfo['version'])) { - - return $aBrowserInfo['version']; + return substr($aBrowserInfo['version'], 0, 20); } return ''; |