keep inprocess status based on extra id

This commit is contained in:
alejandro.campos@artica.es 2023-04-27 12:22:22 +02:00
parent 9a97f5c40c
commit ccc66f3e65
1 changed files with 1 additions and 1 deletions

View File

@ -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);