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:
authorsgiehl <stefan@piwik.org>2014-06-07 23:58:20 +0400
committersgiehl <stefan@piwik.org>2014-06-07 23:58:20 +0400
commit6e9d1c76e065c7c2cc031cede76d3c037124152e (patch)
tree072a74c52fc783fa5463fec9086c790c11a3af0e /core/Tracker/Settings.php
parentf85934195e6a078592e0a2de8c3f990864653655 (diff)
set version to UNK if there is none detected
Diffstat (limited to 'core/Tracker/Settings.php')
-rw-r--r--core/Tracker/Settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Settings.php b/core/Tracker/Settings.php
index 3e2a289e0a..8c7b43b596 100644
--- a/core/Tracker/Settings.php
+++ b/core/Tracker/Settings.php
@@ -49,7 +49,7 @@ class Settings
}
$browserName = !empty($aBrowserInfo['short_name']) ? $aBrowserInfo['short_name'] : 'UNK';
- $browserVersion = !empty($aBrowserInfo['version']) ? $aBrowserInfo['version'] : '';
+ $browserVersion = !empty($aBrowserInfo['version']) ? $aBrowserInfo['version'] : 'UNK';
if ($deviceDetector->isBot()) {
$os = 'BOT';