projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936110d
)
typo
author
Joey Hess
<joey@gnu.kitenet.net>
Tue, 29 Sep 2009 17:33:23 +0000
(13:33 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Tue, 29 Sep 2009 17:33:23 +0000
(13:33 -0400)
IkiWiki/Plugin/parentlinks.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/parentlinks.pm
b/IkiWiki/Plugin/parentlinks.pm
index b01d76f8089ee44e85bed1dc50e564b4e1dcdde3..e678a057d2bdf9a03aa741f8bd019f39e8667bca 100644
(file)
--- a/
IkiWiki/Plugin/parentlinks.pm
+++ b/
IkiWiki/Plugin/parentlinks.pm
@@
-57,7
+57,7
@@
sub pagetemplate (@) {
if ($template->query(name => "parentlinks") ||
$template->query(name => "has_parentlinks")) {
- my @links=
[parentlinks($page)]
;
+ my @links=
parentlinks($page)
;
$template->param(parentlinks => \@links);
$template->param(has_parentlinks => (@links > 0));
}