]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
match_link: dynamic influence needed for page that currently has no links
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 13 Oct 2009 17:33:51 +0000 (13:33 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 13 Oct 2009 17:33:51 +0000 (13:33 -0400)
IkiWiki.pm

index cd93fe969de8a38b4356ad041ba7c1cf6de3b801..2847c7e0f92b8d0266316041829a810a7a3f94ee 100644 (file)
@@ -2168,7 +2168,7 @@ sub match_link ($$;@) {
        my $from=exists $params{location} ? $params{location} : '';
 
        my $links = $IkiWiki::links{$page};
-       return IkiWiki::FailReason->new("$page has no links")
+       return IkiWiki::FailReason->new("$page has no links", "" => 1)
                unless $links && @{$links};
        my $bestlink = IkiWiki::bestlink($from, $link);
        foreach my $p (@{$links}) {