projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf4fef
)
Fix app.psgi
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 26 May 2014 19:03:41 +0000
(22:03 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 26 May 2014 19:03:41 +0000
(22:03 +0300)
app.psgi
patch
|
blob
|
blame
|
history
diff --git
a/app.psgi
b/app.psgi
index 5ddac815ad35d613c8ef2a17d69888c4aa5e7995..45f746696087a41c88f558137d7d3ba8a04da040 100644
(file)
--- a/
app.psgi
+++ b/
app.psgi
@@
-48,9
+48,9
@@
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
''
if $cp->contest->stop >= time;
}
- ''
+ 1
}
sub admin_required {
This page took
0.011146 seconds
and
4
git commands to generate.