From: Marius Gavrilescu Date: Sun, 8 Mar 2015 08:17:24 +0000 (+0200) Subject: Use ->private instead of ->is_private in update_status X-Git-Tag: 5999.000_014~61 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=5657ea001dfd6872a6f686d34aa13fb0747aa5a9;p=gruntmaster-data.git Use ->private instead of ->is_private in update_status --- diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 69e5d02..e3b56f4 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -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]; }