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:
Alejandro Fraguas 2019-08-20 11:32:23 +02:00
commit 8b9cd01d58
1 changed files with 1 additions and 1 deletions

View File

@ -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;