diff options
author | sgiehl <stefan@piwik.org> | 2014-06-07 23:58:20 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-06-07 23:58:20 +0400 |
commit | 6e9d1c76e065c7c2cc031cede76d3c037124152e (patch) | |
tree | 072a74c52fc783fa5463fec9086c790c11a3af0e /core/Tracker/Settings.php | |
parent | f85934195e6a078592e0a2de8c3f990864653655 (diff) |
set version to UNK if there is none detected
Diffstat (limited to 'core/Tracker/Settings.php')
-rw-r--r-- | core/Tracker/Settings.php | 2 |
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'; |