Merge branch 'ent-8051-Giss-informe-de-grafica-de-prediccion-no-funciona-en-metaconsola' into 'develop'

fixed projection report in metaconsole

See merge request artica/pandorafms!4440
This commit is contained in:
Daniel Rodriguez 2021-10-06 08:31:30 +00:00
commit b56026ef59
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
);
}