match_link: dynamic influence needed for page that currently has no links
parent
28c4caea59
commit
5e4e43e2c7
|
@ -2168,7 +2168,7 @@ sub match_link ($$;@) {
|
||||||
my $from=exists $params{location} ? $params{location} : '';
|
my $from=exists $params{location} ? $params{location} : '';
|
||||||
|
|
||||||
my $links = $IkiWiki::links{$page};
|
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};
|
unless $links && @{$links};
|
||||||
my $bestlink = IkiWiki::bestlink($from, $link);
|
my $bestlink = IkiWiki::bestlink($from, $link);
|
||||||
foreach my $p (@{$links}) {
|
foreach my $p (@{$links}) {
|
||||||
|
|
Loading…
Reference in New Issue