summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 7ef9007ff..cadbfd67f 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -586,14 +586,7 @@ sub match_link ($$) { #{{{
} #}}}
sub match_backlink ($$) { #{{{
- my $page=shift;
- my $linkto=shift;
-
- my $links = $links{$linkto} or return undef;
- foreach my $p (@$links) {
- return 1 if lc $p eq $page;
- }
- return 0;
+ match_link(reverse @_);
} #}}}
sub match_creation_day ($$) { #{{{