From 5657ea001dfd6872a6f686d34aa13fb0747aa5a9 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 8 Mar 2015 10:17:24 +0200 Subject: [PATCH] Use ->private instead of ->is_private in 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 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]; } -- 2.39.2