Fixed problems with graphs, show percentil whn this option not is valid.

This commit is contained in:
m-lopez-f 2016-10-17 09:49:31 +02:00
parent 8a7ffe18fd
commit 97428f0771
2 changed files with 2 additions and 2 deletions

View File

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

View File

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