Merge branch '1920_Informe_de_alertas_3' into 'develop'

Fixed minor error module/agent/group alert report

See merge request artica/pandorafms!1775
This commit is contained in:
vgilc 2018-09-18 10:15:50 +02:00
commit e0eb6a3eff
1 changed files with 1 additions and 2 deletions

View File

@ -2878,8 +2878,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) {