From f1080757a09fee9d70f9b98da1f145d1e34d1cd2 Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Fri, 30 Oct 2020 13:30:59 +0100 Subject: [PATCH] Fix combo server in reports builder --- .../godmode/reporting/reporting_builder.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 6857a2cd39..a46ee1811e 100755 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -1813,11 +1813,9 @@ switch ($action) { ); $values['id_group'] = get_parameter('combo_group'); - if ($values['server_name'] == '') { - $values['server_name'] = get_parameter( - 'combo_server' - ); - } + $values['server_name'] = get_parameter( + 'combo_server' + ); if ((($values['type'] == 'custom_graph') || ($values['type'] == 'automatic_custom_graph')) @@ -2354,6 +2352,8 @@ switch ($action) { break; } + hd($values['server_name']); + hd(2); if ($values['server_name'] == '') { $values['server_name'] = get_parameter( 'combo_server'