From 9a24a777000f50706c97d91ddf3d5a8a3c3cdae3 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 5 Feb 2015 17:28:08 +0200 Subject: [PATCH] Fix update_status --- 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 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; } -- 2.39.2