projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c4cae
)
match_link: dynamic influence needed for page that currently has no links
author
Joey Hess
<joey@gnu.kitenet.net>
Tue, 13 Oct 2009 17:33:51 +0000
(13:33 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Tue, 13 Oct 2009 17:33:51 +0000
(13:33 -0400)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index cd93fe969de8a38b4356ad041ba7c1cf6de3b801..2847c7e0f92b8d0266316041829a810a7a3f94ee 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-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}) {