Clean unnecesary message

This commit is contained in:
José González 2022-06-21 14:45:17 +02:00
parent c9ca52e5b9
commit 4480455258
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
* |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
*
* ============================================================================
* Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
* Copyright (c) 2005-2022 Artica Soluciones Tecnologicas
* Please see http://pandorafms.org for full contribution list
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -2687,10 +2687,10 @@ function events_print_event_table(
// Get class name, for the link color, etc.
$data[$i] = "<a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$event['id_agente']."'>".agents_get_alias($event['id_agente']).'</A>';
// For System or SNMP generated alerts.
} else if ($event['event_type'] == 'system') {
} else if ($event['event_type'] === 'system') {
$data[$i] = __('System');
} else {
$data[$i] = __('Alert').'SNMP';
$data[$i] = '';
}
$i++;