]> iEval git - gruntmaster-data.git/commitdiff
Use ->private instead of ->is_private in update_status
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 8 Mar 2015 08:17:24 +0000 (10:17 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 8 Mar 2015 08:17:24 +0000 (10:17 +0200)
lib/Gruntmaster/Data.pm

index 69e5d02826ac127f68ecd8ee97b9d9022b14d2ff..e3b56f43adf892284f04c0f7842384907f06ac2e 100644 (file)
@@ -185,7 +185,7 @@ sub update_status {
        my %hash;
        for (@jobs) {
                my $pb = $_->get_column('problem');
-               $private{$pb} //= $_->problem->is_private;
+               $private{$pb} //= $_->problem->private;
                next if $private{$pb};
                $hash{$pb, $_->get_column('owner')} = [$_->id, $_->result ? 0 : 1];
        }
This page took 0.022104 seconds and 4 git commands to generate.