X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=app.psgi;fp=app.psgi;h=5ddac815ad35d613c8ef2a17d69888c4aa5e7995;hb=d88899fa4495b8ff89aae7d938a3a76c0a1c9357;hp=590fbd5fdca9470ea23f31d88bf85a69f463ed63;hpb=d16e978882dcdf64314e4fcde02c892c7d974eb5;p=gruntmaster-page.git diff --git a/app.psgi b/app.psgi index 590fbd5..5ddac81 100644 --- a/app.psgi +++ b/app.psgi @@ -48,7 +48,7 @@ sub is_problem_in_contest { return 1 if $db->contest_problems->find($ct, $pb); return '' if defined $ct; for my $cp ($db->problem($pb)->contest_problems) { - return 1 if $cp->contest->stop <= time; + return 1 if $cp->contest->stop >= time; } '' }