Fixed minor error module/agent/group alert report

This commit is contained in:
samucarc 2018-09-18 10:09:11 +02:00
parent 8daca7d220
commit 7100aed448
1 changed files with 1 additions and 2 deletions

View File

@ -2879,8 +2879,7 @@ function reporting_alert_get_fired($id_agent_module, $id_alert_template_module,
$empty = '----------------------------';
if (empty($firedTimes)) {
$firedTimes = array();
$empty = _('There are no alerts defined');
$firedTimes[0]['timestamp'] = '';
$firedTimes[0]['timestamp'] = $empty;
}
foreach ($firedTimes as $fireTime) {