From 624322934599f76a638baac71bdf625f7fe7bd49 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Tue, 29 Nov 2022 11:54:25 +0100 Subject: [PATCH 1/2] changed wrong count --- pandora_console/godmode/alerts/alert_list.list.php | 2 +- pandora_console/mobile/operation/alerts.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index c682062b0b..d2a7e89469 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -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'); diff --git a/pandora_console/mobile/operation/alerts.php b/pandora_console/mobile/operation/alerts.php index c1857f44f5..65971a52ea 100644 --- a/pandora_console/mobile/operation/alerts.php +++ b/pandora_console/mobile/operation/alerts.php @@ -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'); From 2925df80e9d5a85be7152ddd0f1bc4d29da4caa1 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Tue, 29 Nov 2022 12:04:03 +0100 Subject: [PATCH 2/2] changed wrong count --- pandora_console/godmode/alerts/alert_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/alerts/alert_view.php b/pandora_console/godmode/alerts/alert_view.php index 55fb09e58d..67b31ed3f3 100644 --- a/pandora_console/godmode/alerts/alert_view.php +++ b/pandora_console/godmode/alerts/alert_view.php @@ -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');