From: Marius Gavrilescu Date: Thu, 5 Feb 2015 15:28:08 +0000 (+0200) Subject: Fix update_status X-Git-Tag: 5999.000_014~84 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=9a24a777000f50706c97d91ddf3d5a8a3c3cdae3;p=gruntmaster-data.git Fix update_status --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 40751be..308e056 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -181,7 +181,7 @@ sub update_status { for (@jobs) { my $pb = $_->get_column('problem'); $private{$pb} //= $_->problem->is_private; - next if !$private{$pb}; + next if $private{$pb}; $hash{$pb, $_->get_column('owner')} = [$_->id, $_->result ? 0 : 1] for @jobs; }