mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed bug in alerts details view
This commit is contained in:
parent
871e0568d7
commit
6c90a4dd53
@ -2492,7 +2492,7 @@ function alerts_get_action_escalation($action)
|
|||||||
$escalation[$action['fires_max']] = 1;
|
$escalation[$action['fires_max']] = 1;
|
||||||
} else if ($action['fires_min'] < $action['fires_max']) {
|
} else if ($action['fires_min'] < $action['fires_max']) {
|
||||||
for ($i = 1; $i <= $action['fires_max']; $i++) {
|
for ($i = 1; $i <= $action['fires_max']; $i++) {
|
||||||
if ($i <= $action['fires_min']) {
|
if ($i < $action['fires_min']) {
|
||||||
$escalation[$i] = 0;
|
$escalation[$i] = 0;
|
||||||
} else {
|
} else {
|
||||||
$escalation[$i] = 1;
|
$escalation[$i] = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user