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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DevicesDetection/Columns/Os.php b/plugins/DevicesDetection/Columns/Os.php
index 8f51f00ee1..f5ba2bf36d 100644
--- a/plugins/DevicesDetection/Columns/Os.php
+++ b/plugins/DevicesDetection/Columns/Os.php
@@ -84,7 +84,7 @@ class Os extends Base
$os = Settings::OS_BOT;
} else {
$os = $parser->getOS();
- $os = empty($os['short_name']) ? 'UNK' : $os['short_name'];
+ $os = $os['short_name'] ?? 'UNK';
}
return $os;