Merge branch 'ent-9919-Contador-de-alertas-da-datos-erroneos' into 'develop'
changed wrong count See merge request artica/pandorafms!5299
This commit is contained in:
commit
d39c014e0f
|
@ -570,7 +570,7 @@ foreach ($simple_alerts as $alert) {
|
|||
|
||||
if ($alert['times_fired'] > 0) {
|
||||
$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) {
|
||||
$status = STATUS_ALERT_DISABLED;
|
||||
$title = __('Alert disabled');
|
||||
|
|
|
@ -102,7 +102,7 @@ $table_details->data[] = $data;
|
|||
|
||||
if ($alert['times_fired'] > 0) {
|
||||
$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) {
|
||||
$status = STATUS_ALERT_DISABLED;
|
||||
$title = __('Alert disabled');
|
||||
|
|
|
@ -321,7 +321,7 @@ class Alerts
|
|||
|
||||
if ($alert['times_fired'] > 0) {
|
||||
$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) {
|
||||
$status = STATUS_ALERT_DISABLED;
|
||||
$title = __('Alert disabled');
|
||||
|
|
Loading…
Reference in New Issue