From 321a0075f9de7c67b96ead5243d30c87310ac24c Mon Sep 17 00:00:00 2001 From: Enrique Martin Date: Mon, 18 Dec 2023 16:12:08 +0100 Subject: [PATCH] Fixed report custom graph search --- pandora_console/include/ajax/demo_data.ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/demo_data.ajax.php b/pandora_console/include/ajax/demo_data.ajax.php index 0ac5df558f..5f5818cf58 100644 --- a/pandora_console/include/ajax/demo_data.ajax.php +++ b/pandora_console/include/ajax/demo_data.ajax.php @@ -2096,7 +2096,7 @@ if ($action === 'create_demo_data') { } if (isset($items_array['graph_name']) === true && is_string($items_array['graph_name']) === true) { - $id_custom_graph = reset(custom_graphs_search('', io_safe_input($items_array['graph_name'])))['id_graph']; + $id_custom_graph = reset(custom_graphs_search('', $items_array['graph_name']))['id_graph']; if ($id_custom_graph > 0) { $item_values['id_gs'] = $id_custom_graph;