From 088193438fb3d09a0df55eb6d2d7ca036e284073 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Fri, 8 Oct 2021 11:59:29 +0200 Subject: [PATCH] fix wrong event id in grouped events --- pandora_console/include/functions_events.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 5e727cf08c..5b6341fd24 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -4872,7 +4872,8 @@ function events_page_general($event) $data = []; $data[0] = __('Event ID'); - $data[1] = '#'.$event['id_evento']; + $table_event_id = (isset($event['max_id_evento']) === true) ? $event['max_id_evento'] : $event['id_evento']; + $data[1] = '#'.$table_event_id; $table_general->data[] = $data; $data = [];