Fix get_csv
This commit is contained in:
parent
4a66e85060
commit
ca2c0e8f13
@ -49,7 +49,7 @@ sub process
|
||||
my $i;
|
||||
for ($i = 0; $i <= $#ugrades; $i++)
|
||||
{
|
||||
if ($ugrades[$i] == $grade->getAttribute("name"))
|
||||
if ($ugrades[$i] eq $grade->getAttribute("name"))
|
||||
{
|
||||
$ugrades[$i] = $grade->getAttribute("value");
|
||||
last;
|
||||
@ -75,7 +75,8 @@ sub process
|
||||
}
|
||||
$out .= "\n";
|
||||
|
||||
for my $login (keys %grades) {
|
||||
for my $login (keys %grades)
|
||||
{
|
||||
$out .= "$login";
|
||||
my @ugrades = @{ $grades{$login} };
|
||||
for my $header (@headers)
|
||||
|
Reference in New Issue
Block a user