X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=app.psgi;h=4fe071941fa0b4f69ec44d7228c8c515c3cdf715;hb=33c62e70ae9ad4afdda494c9550d6adc859cbce4;hp=0c18ec95ba64bd3e19538e00fd0672c45a4a56c1;hpb=9b96dbf124020f076010a2e60b0f78c6b9771d3a;p=gruntmaster-page.git diff --git a/app.psgi b/app.psgi index 0c18ec9..4fe0719 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; } '' }