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:
6529f1e
)
Fix undef warning
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 26 Mar 2014 06:20:21 +0000
(08:20 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 26 Mar 2014 06:20:21 +0000
(08:20 +0200)
lib/Gruntmaster/Page/Generic.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Page/Generic.pm
b/lib/Gruntmaster/Page/Generic.pm
index 99f75b0e2a59e51fa5322a6a4173c91b20b8c6c3..317fc6a6a2e35d3599d30e8ed5a2fbc844b299b8 100644
(file)
--- a/
lib/Gruntmaster/Page/Generic.pm
+++ b/
lib/Gruntmaster/Page/Generic.pm
@@
-169,7
+169,7
@@
thing {
$_->{problem_name} = $_->{rs}->problem->name;
$_->{size} = length $_->{source};
delete $_->{source};
- $_->{pageprefix} = $env->{'gruntmaster.page'} == -1 ? 'page/' : '';
+ $_->{pageprefix} = $env->{'gruntmaster.page'}
&& $env->{'gruntmaster.page'}
== -1 ? 'page/' : '';
}
};
This page took
0.01072 seconds
and
4
git commands to generate.