diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 2b1be6fa8f..84fa1e0b70 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -2031,7 +2031,8 @@ function events_page_details ($event, $server = "") { $data = array(); $data[0] = '
'.__('OS').'
'; - $data[1] = ui_print_os_icon ($agent["id_os"], true, true).' ('.$agent["os_version"].')'; + $data[1] = ui_print_os_icon ($agent["id_os"], true, true); + if (!empty($agent["os_version"])) $data[1] .= ' ('.$agent["os_version"].')'; $table_details->data[] = $data; $data = array();