projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a24a77
)
Fix update_status again
author
Marius Gavrilescu
<marius@ieval.ro>
Thu, 5 Feb 2015 15:28:54 +0000
(17:28 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Thu, 5 Feb 2015 15:28:54 +0000
(17:28 +0200)
lib/Gruntmaster/Data.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Data.pm
b/lib/Gruntmaster/Data.pm
index 308e0561a0e6335cd993200500442961498a220a..00eeaf27371d73b701e1722a5c95b67d4a1d74d8 100644
(file)
--- 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;
This page took
0.011328 seconds
and
4
git commands to generate.