From 17acecb2b457e1b7fb0e14b0793dacb8f92ba3d4 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 10 Sep 2012 07:53:37 +0000 Subject: [PATCH] 2012-09-10 Sergio Martin * include/functions_graph.php: Fixed some notices for bug #3564715 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_graph.php | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 1f81e68185..6268827c54 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-09-10 Sergio Martin + + * include/functions_graph.php: Fixed some notices for + bug #3564715 + 2012-09-07 Juan Manuel Ramon * include/functions_html.php diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 4ec202d48f..20e2ef71f7 100755 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -26,7 +26,7 @@ define("GRAPH_LINE", 2); define("GRAPH_STACKED_LINE", 3); function grafico_modulo_sparse_data_chart (&$chart, &$chart_data_extra, &$long_index, - $data, $data_i, $resolution, $interval, $period, $datelimit, + $data, $data_i, $previous_data, $resolution, $interval, $period, $datelimit, $projection, $avg_only = false, $uncompressed_module = false, $show_events = false, $show_alerts = false, $baseline = false, $baseline_data = array(), $events = array(), $series_suffix = '') { @@ -216,6 +216,7 @@ function grafico_modulo_sparse_data ($agent_module_id, $period, $show_events, global $chart_extra_data; global $warning_min; global $critical_min; + global $graphic_type; $chart = array(); $color = array(); @@ -346,7 +347,7 @@ function grafico_modulo_sparse_data ($agent_module_id, $period, $show_events, // Calculate chart data grafico_modulo_sparse_data_chart ($chart, $chart_data_extra, $long_index, - $data, $data_i, $resolution, $interval, $period, $datelimit, + $data, $data_i, $previous_data, $resolution, $interval, $period, $datelimit, $projection, $avg_only, $uncompressed_module, $show_events, $show_alerts, $baseline, $baseline_data, $events, $series_suffix);