From ccac91e83cdfdf2af2dcd30fb6505aff5274699c Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Tue, 5 Oct 2021 10:47:50 +0200 Subject: [PATCH] fixed projection report in metaconsole --- pandora_console/include/functions_graph.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 76aebc8d80..44cc3380be 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1574,11 +1574,17 @@ function graphic_combined_module( $date_array['final_date'] = $params['date']; $date_array['start_date'] = ($params['date'] - $params['period']); + $server_name = metaconsole_get_server_by_id($modules[0]['server']); + if ($params_combined['projection']) { $output_projection = forecast_projection_graph( $module_list[0], $params['period'], - $params_combined['projection'] + $params_combined['projection'], + false, + false, + false, + $server_name ); }