From 92da78496be3dff8fb5fec98bf7198077e1aeada Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 17 Sep 2020 16:54:40 +0200 Subject: [PATCH] Added module custom id to general tab in event details --- pandora_console/include/functions_events.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index a6f0f83752..b398df5553 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -4682,6 +4682,16 @@ function events_page_general($event) $table_general->data[] = $data; + $data = []; + $data[0] = __('Module custom ID'); + if ($event['module_custom_id'] != '') { + $data[1] = $event['module_custom_id']; + } else { + $data[1] = ''.__('N/A').''; + } + + $table_general->data[] = $data; + $table_data = $table_general->data; if (is_array($table_data)) { $table_data_total = count($table_data);