]> iEval git - gruntmaster-data.git/commitdiff
Fix problem_entry with contest
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 31 Mar 2015 09:21:23 +0000 (12:21 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 31 Mar 2015 09:21:23 +0000 (12:21 +0300)
lib/Gruntmaster/Data.pm

index 203ee830acf82b6f1c26bdb94679afa9fd48221a..58be648c9f7da756e0e6f75d99ce0e383c336b31 100644 (file)
@@ -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;
This page took 0.023951 seconds and 4 git commands to generate.