Fix update_status
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 5 Feb 2015 15:28:08 +0000 (17:28 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 5 Feb 2015 15:28:08 +0000 (17:28 +0200)
lib/Gruntmaster/Data.pm

index 40751bed17ca6c02cd05b04e8beb3c3f16880630..308e0561a0e6335cd993200500442961498a220a 100644 (file)
@@ -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;
        }
 
This page took 0.01067 seconds and 4 git commands to generate.