master
Joey Hess 2010-12-25 13:23:23 -04:00
parent fd95afe8ea
commit 80e3f7c309
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ sub pagetemplate (@) {
my $template=$params{template};
if ($template->query(name => "parentlinks") ||
$template->query(name => "has_parentlinks")) {
$template->query(name => "has_parentlinks")) {
my @links=parentlinks($params{page});
$template->param(parentlinks => \@links);
$template->param(has_parentlinks => (@links > 0));