From ccc66f3e65efa2d63001edf7c6d94be6acbdd10c Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Thu, 27 Apr 2023 12:22:22 +0200 Subject: [PATCH] keep inprocess status based on extra id --- pandora_server/lib/PandoraFMS/Core.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 251ff801dc..9cf7bdc636 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -4074,7 +4074,7 @@ sub pandora_event { if (defined ($keep_in_process_status_extra_id) && $keep_in_process_status_extra_id == 1) { # Keep status if the latest event was In process - logger($pa_config, "Checking status of latest event with extended id '$id_extra'.", 10); + logger($pa_config, "Checking status of latest event with extended id ".$id_extra, 10); # Check if there is a previous event with that extra ID and it is currently in "in process" state my $id_extra_inprocess_count = get_db_value ($dbh, 'SELECT COUNT(*) FROM tevento WHERE id_extra=? AND estado=2', $id_extra);