From b521cc37fdbe3fbb91ab18bbb9e48ed047812255 Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 17 Feb 2020 13:17:33 +0100 Subject: [PATCH] update reports entitines --- pandora_console/include/functions_reporting.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 0c1127eab2..f91d3649c7 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -3041,7 +3041,7 @@ function reporting_database_serialized($report, $content) $return['title'] = $content['name']; $return['subtitle'] = $agent_name.' - '.$module_name; - $return['description'] = $content['description']; + $return['description'] = io_safe_output($content['description']); $return['date'] = io_safe_output(reporting_get_date_text($report, $content)); $keys = []; @@ -3180,10 +3180,10 @@ function reporting_group_configuration($report, $content) $group_name = groups_get_name($content['id_group'], true); - $return['title'] = $content['name']; + $return['title'] = io_safe_output($content['name']); $return['subtitle'] = $group_name; - $return['description'] = $content['description']; - $return['date'] = reporting_get_date_text($report, $content); + $return['description'] = io_safe_output($content['description']); + $return['date'] = io_safe_output(reporting_get_date_text($report, $content)); $return['id_group'] = $content['id_group']; if ($content['id_group'] == 0) { @@ -3253,10 +3253,10 @@ function reporting_network_interfaces_report($report, $content, $type='dinamic', $group_name = groups_get_name($content['id_group']); - $return['title'] = $content['name']; + $return['title'] = io_safe_output($content['name']); $return['subtitle'] = $group_name; - $return['description'] = $content['description']; - $return['date'] = reporting_get_date_text($report, $content); + $return['description'] = io_safe_output($content['description']); + $return['date'] = io_safe_output(reporting_get_date_text($report, $content)); include_once $config['homedir'].'/include/functions_custom_graphs.php';