diff options
Diffstat (limited to 'plugins/DevicesDetection/Columns/Os.php')
-rw-r--r-- | plugins/DevicesDetection/Columns/Os.php | 2 |
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; |