From 9f8cf806e07f79de5cbfb2614a09917a107a718b Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 30 Jan 2014 18:10:07 +0200 Subject: [PATCH] Show submit box in pb_entry before contest_start --- lib/Gruntmaster/Page/Pb/Entry.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Page/Pb/Entry.pm b/lib/Gruntmaster/Page/Pb/Entry.pm index f2fa962..2dd0a7b 100644 --- a/lib/Gruntmaster/Page/Pb/Entry.pm +++ b/lib/Gruntmaster/Page/Pb/Entry.pm @@ -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); -- 2.39.2