mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
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:
commit
e0eb6a3eff
@ -2878,8 +2878,7 @@ function reporting_alert_get_fired($id_agent_module, $id_alert_template_module,
|
|||||||
$empty = '----------------------------';
|
$empty = '----------------------------';
|
||||||
if (empty($firedTimes)) {
|
if (empty($firedTimes)) {
|
||||||
$firedTimes = array();
|
$firedTimes = array();
|
||||||
$empty = _('There are no alerts defined');
|
$firedTimes[0]['timestamp'] = $empty;
|
||||||
$firedTimes[0]['timestamp'] = '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($firedTimes as $fireTime) {
|
foreach ($firedTimes as $fireTime) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user