3.0: fix a 'proc' reference in $config

This commit is contained in:
Jordi Sanfeliu 2012-11-22 09:35:03 +01:00
parent b036f24bf1
commit 6782d3511c
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}