From 0565168522c8e69ea3955247a8434762a753f4cb Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Fri, 27 Jan 2023 12:25:42 +0100 Subject: [PATCH] #10202 fixed search report sql --- pandora_console/include/functions_reporting.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 7ed054cdde..637ae59752 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -257,6 +257,10 @@ function reporting_make_reporting_data( $content['style'] = json_decode(io_safe_output($content['style']), true); + if (!empty($content['style']['event_filter_search'])) { + $content['style']['event_filter_search'] = io_safe_input($content['style']['event_filter_search']); + } + $graphs_to_macro = db_get_all_rows_field_filter( 'tgraph_source', 'id_graph',