mirror of https://github.com/mikaku/Monitorix.git
3.0: fix a 'proc' reference in $config
This commit is contained in:
parent
b036f24bf1
commit
6782d3511c
|
@ -274,7 +274,7 @@ EOF
|
|||
if(lc($config{graph_enable}->{$g}) eq "y") {
|
||||
print(OUT " <optgroup label='" . $config{graph_title}->{$g} . "'>\n");
|
||||
if($g eq "proc") {
|
||||
for($n = 0; $n < $config{proc_max}; $n++) {
|
||||
for($n = 0; $n < $config{proc}->{max}; $n++) {
|
||||
$gname = "_" . $g;
|
||||
print(OUT " <option value='" . $gname . $n . "'>" . $config{graphs}->{$gname} . " " . $n . "</option>\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue