From: Marius Gavrilescu Date: Tue, 31 Mar 2015 09:21:23 +0000 (+0300) Subject: Fix problem_entry with contest X-Git-Tag: 5999.000_014~37 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=9325f8289dd512a0e7f8f3d8dc22bcee91bb495b;p=gruntmaster-data.git Fix problem_entry with contest --- 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;