changed wrong count
This commit is contained in:
parent
38259c9f8d
commit
6243229345
|
@ -570,7 +570,7 @@ foreach ($simple_alerts as $alert) {
|
||||||
|
|
||||||
if ($alert['times_fired'] > 0) {
|
if ($alert['times_fired'] > 0) {
|
||||||
$status = STATUS_ALERT_FIRED;
|
$status = STATUS_ALERT_FIRED;
|
||||||
$title = __('Alert fired').' '.$alert['internal_counter'].' '.__('time(s)');
|
$title = __('Alert fired').' '.$alert['times_fired'].' '.__('time(s)');
|
||||||
} else if ($alert['disabled'] > 0) {
|
} else if ($alert['disabled'] > 0) {
|
||||||
$status = STATUS_ALERT_DISABLED;
|
$status = STATUS_ALERT_DISABLED;
|
||||||
$title = __('Alert disabled');
|
$title = __('Alert disabled');
|
||||||
|
|
|
@ -321,7 +321,7 @@ class Alerts
|
||||||
|
|
||||||
if ($alert['times_fired'] > 0) {
|
if ($alert['times_fired'] > 0) {
|
||||||
$status = STATUS_ALERT_FIRED;
|
$status = STATUS_ALERT_FIRED;
|
||||||
$title = __('Alert fired').' '.$alert['internal_counter'].' '.__('time(s)');
|
$title = __('Alert fired').' '.$alert['times_fired'].' '.__('time(s)');
|
||||||
} else if ($alert['disabled'] > 0) {
|
} else if ($alert['disabled'] > 0) {
|
||||||
$status = STATUS_ALERT_DISABLED;
|
$status = STATUS_ALERT_DISABLED;
|
||||||
$title = __('Alert disabled');
|
$title = __('Alert disabled');
|
||||||
|
|
Loading…
Reference in New Issue