Fixed bug in alerts details view

This commit is contained in:
manuel 2019-08-07 13:04:37 +02:00
parent 871e0568d7
commit 6c90a4dd53
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;