]> sipb.mit.edu Git - ikiwiki.git/commitdiff
typo
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 29 Sep 2009 17:33:23 +0000 (13:33 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 29 Sep 2009 17:33:23 +0000 (13:33 -0400)
IkiWiki/Plugin/parentlinks.pm

index b01d76f8089ee44e85bed1dc50e564b4e1dcdde3..e678a057d2bdf9a03aa741f8bd019f39e8667bca 100644 (file)
@@ -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));
        }