fixed the 'gensens' names in the right side list of the main page #170

This commit is contained in:
Jordi Sanfeliu 2019-05-03 09:05:46 +02:00
parent 0619d25ec1
commit ad55557ef1
1 changed files with 3 additions and 3 deletions

View File

@ -312,10 +312,10 @@ EOF
next;
}
if($g eq "gensens") {
foreach my $sg (sort keys %{$config{gensens}->{list}}) {
my $name = trim($config{gensens}->{title}->{$sg});
for($n = 0; $n < keys %{$config{gensens}->{list}}; $n++) {
my $name = trim($config{gensens}->{title}->{$n});
$gname = "_" . $g;
print(OUT " <option value='" . $gname . "'>" . $name . "</option>\n");
print(OUT " <option value='" . $gname . $n . "'>" . $name . "</option>\n");
}
next;
}