From 9325f8289dd512a0e7f8f3d8dc22bcee91bb495b Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 31 Mar 2015 12:21:23 +0300 Subject: [PATCH] Fix problem_entry with contest --- 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 203ee83..58be648 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -117,7 +117,7 @@ sub problem_list { sub problem_entry { my ($id, $contest) = @_; - $contest &&= contest_entry $contest; + $contest &&= contest_entry ($contest); my $ret = add_names query(problem_entry_sth => $id)->hash; my $limits = query(limits_sth => $id)->hashes; $ret->{limits} = $limits if @$limits; -- 2.39.2