From 95594d6d74856958398509d5e83bff8547068a4f Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 5 Feb 2015 17:28:54 +0200 Subject: [PATCH] Fix update_status again --- lib/Gruntmaster/Data.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 308e056..00eeaf2 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -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; -- 2.39.2