projects
/
plack-app-gruntmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bc7c02
)
Fix editorials for contests with less than 4 problems
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 25 Feb 2015 17:41:34 +0000
(19:41 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 25 Feb 2015 17:41:34 +0000
(19:41 +0200)
lib/Plack/App/Gruntmaster/HTML.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Plack/App/Gruntmaster/HTML.pm
b/lib/Plack/App/Gruntmaster/HTML.pm
index 947f039238b0fb20ba4a638ae25dbad03609ddd0..eb3c56765964e4d1ec09fb70d14b7865c64b3738 100644
(file)
--- a/
lib/Plack/App/Gruntmaster/HTML.pm
+++ b/
lib/Plack/App/Gruntmaster/HTML.pm
@@
-284,6
+284,6
@@
sub process_ed {
$div->set_child_content(class => 'solution', literal $data->{solution});
$div->fclass('problem')->namedlink($data->{id}, $data->{name});
};
- my @pb = map { @{$args{$_}} } qw/beginner easy medium hard/;
+ my @pb = map { @{$args{$_}
// []
} } qw/beginner easy medium hard/;
$tree->fclass('well')->iter3(\@pb, $iter);
}
This page took
0.024409 seconds
and
4
git commands to generate.