]> iEval git - gruntmaster-data.git/commitdiff
Fix update_status again
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 5 Feb 2015 15:28:54 +0000 (17:28 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 5 Feb 2015 15:28:54 +0000 (17:28 +0200)
lib/Gruntmaster/Data.pm

index 308e0561a0e6335cd993200500442961498a220a..00eeaf27371d73b701e1722a5c95b67d4a1d74d8 100644 (file)
@@ -182,7 +182,7 @@ sub update_status {
                my $pb = $_->get_column('problem');
                $private{$pb} //= $_->problem->is_private;
                next if $private{$pb};
-               $hash{$pb, $_->get_column('owner')} = [$_->id, $_->result ? 0 : 1] for @jobs;
+               $hash{$pb, $_->get_column('owner')} = [$_->id, $_->result ? 0 : 1];
        }
 
        my @problem_statuses = map { [split ($;), @{$hash{$_}} ] } keys %hash;
This page took 0.03088 seconds and 4 git commands to generate.