From 3f2c48d8013fca0f6dbdcc589761963df58745d8 Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Mon, 20 May 2024 09:25:45 +0200 Subject: [PATCH] #13721 fixed exception reporting option data only --- pandora_console/include/functions_reporting.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 5b48b0af5b..c6a005604b 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -4540,6 +4540,17 @@ function reporting_exception( } else { $return['chart']['hbar'] .= ''; } + } else { + // Get only table data. + foreach ($items as $key => $item) { + $data = []; + $data['agent'] = $item['agent']; + $data['module'] = $item['module']; + $data['operation'] = __($item['operation']); + $data['value'] = $item['value']; + $data['formated_value'] = format_for_graph($item['value'], 2).' '.$item['unit']; + $return['data'][] = $data; + } } if ($content['show_resume'] && $i > 0) {