Merge branch 'ent-4483-Vista-detalle-de-alertas-erronea' into 'develop'
Fixed bug in alerts details view See merge request artica/pandorafms!2643
This commit is contained in:
commit
8b9cd01d58
|
@ -2492,7 +2492,7 @@ function alerts_get_action_escalation($action)
|
|||
$escalation[$action['fires_max']] = 1;
|
||||
} else if ($action['fires_min'] < $action['fires_max']) {
|
||||
for ($i = 1; $i <= $action['fires_max']; $i++) {
|
||||
if ($i <= $action['fires_min']) {
|
||||
if ($i < $action['fires_min']) {
|
||||
$escalation[$i] = 0;
|
||||
} else {
|
||||
$escalation[$i] = 1;
|
||||
|
|
Loading…
Reference in New Issue