Archived
1
0

Fix get_csv

This commit is contained in:
Charlie Noyce Root 2013-11-13 02:33:27 +01:00
parent 4a66e85060
commit ca2c0e8f13

View File

@ -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)