From 97428f07712a700dd7847071f3ab1056d80cf625 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 17 Oct 2016 09:49:31 +0200 Subject: [PATCH] Fixed problems with graphs, show percentil whn this option not is valid. --- pandora_console/include/functions_custom_graphs.php | 2 +- pandora_console/include/functions_graph.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_custom_graphs.php b/pandora_console/include/functions_custom_graphs.php index f268923aad..857e4c03eb 100644 --- a/pandora_console/include/functions_custom_graphs.php +++ b/pandora_console/include/functions_custom_graphs.php @@ -164,7 +164,7 @@ function custom_graphs_print($id_graph, $height, $width, $period, $background_color = 'white', $modules_param = array(), $homeurl = '', $name_list = array(), $unit_list = array(), $show_last = true, $show_max = true, $show_min = true, $show_avg = true, $ttl = 1, - $dashboard = false, $vconsole = false, $percentil = 0) { + $dashboard = false, $vconsole = false, $percentil = null) { global $config; diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 65fa5c17a0..d9a1fc7493 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -977,7 +977,7 @@ function graphic_combined_module ($module_list, $weight_list, $period, $prediction_period = false, $background_color = 'white', $name_list = array(), $unit_list = array(), $show_last = true, $show_max = true, $show_min = true, $show_avg = true, $labels = array(), $dashboard = false, - $vconsole = false, $percentil = 0) { + $vconsole = false, $percentil = null) { global $config; global $graphic_type;