Now is possible to print multiple gauge graphs without errors
Fixes ticket #3635
This commit is contained in:
parent
23fd308953
commit
e47f6d9968
|
@ -1609,9 +1609,7 @@ function graphic_combined_module ($module_list, $weight_list, $period,
|
||||||
$temp[$module]['min'] = ($min == 0 ) ? 0 : $min;
|
$temp[$module]['min'] = ($min == 0 ) ? 0 : $min;
|
||||||
$temp[$module]['max'] = ($max == 0 ) ? 100 : $max;
|
$temp[$module]['max'] = ($max == 0 ) ? 100 : $max;
|
||||||
}
|
}
|
||||||
$temp[$module]['gauge'] = "gauge_" . $i;
|
$temp[$module]['gauge'] = uniqid('gauge_');
|
||||||
$i++;
|
|
||||||
|
|
||||||
|
|
||||||
if ($config['metaconsole']) {
|
if ($config['metaconsole']) {
|
||||||
// Automatic custom graph from the report template in metaconsole
|
// Automatic custom graph from the report template in metaconsole
|
||||||
|
@ -1619,6 +1617,7 @@ function graphic_combined_module ($module_list, $weight_list, $period,
|
||||||
metaconsole_restore_db();
|
metaconsole_restore_db();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$i++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue