fixed projection report in metaconsole

This commit is contained in:
alejandro.campos@artica.es 2021-10-05 10:47:50 +02:00
parent d1b9dc4ef8
commit ccac91e83c
1 changed files with 7 additions and 1 deletions

View File

@ -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
);
}