]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/orphans.pm
web commit by JoshTriplett
[git.ikiwiki.info.git] / IkiWiki / Plugin / orphans.pm
index def8e92d67eb7440c4a22f9ecf61211b9c65893b..39d836a01df36adeeece842547101e271ae145eb 100644 (file)
@@ -28,7 +28,7 @@ sub preprocess (@) { #{{{
        my $discussion=gettext("discussion");
        foreach my $page (keys %renderedfiles) {
                next if $linkedto{$page};
-               next unless pagespec_match($page, $params{pages});
+               next unless pagespec_match($page, $params{pages}, $params{page});
                # If the page has a link to some other page, it's
                # indirectly linked to a page via that page's backlinks.
                next if grep {