]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/parentlinks.pm
httpauth: Add cgiauthurl setting that can be used to do http basic auth only when...
[git.ikiwiki.info.git] / 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));
        }