]> iEval git - gruntmaster-page.git/commitdiff
Show submit box in pb_entry before contest_start
authorMarius Gavrilescu <marius@ieval.ro>
Thu, 30 Jan 2014 16:10:07 +0000 (18:10 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Thu, 30 Jan 2014 16:10:07 +0000 (18:10 +0200)
lib/Gruntmaster/Page/Pb/Entry.pm

index f2fa9626c0aefd7298fb68ae076cc2be86e102fc..2dd0a7b5674afa577350a7da7551a7eaa61605ca 100644 (file)
@@ -37,7 +37,7 @@ sub _generate{
 
        $htc->param(cansubmit => 1);
        if (defined $contest) {
-               $htc->param(cansubmit => time >= contest_start $contest && time <= contest_end $contest);
+               $htc->param(cansubmit => time <= contest_end $contest);
                $htc->param(contest => $contest);
        }
        $htc->param(formats => Gruntmaster::Page::Submit::FORMATS);
This page took 0.023703 seconds and 4 git commands to generate.