]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/map.pm
web commit by JoshTriplett
[git.ikiwiki.info.git] / IkiWiki / Plugin / map.pm
index 96daf39fcdf9debd255eec245bba57d1432747fc..3c41194f47f32cf51f782c72a1c74a085a98e21e 100644 (file)
@@ -26,7 +26,7 @@ sub preprocess (@) { #{{{
        # Get all the items to map.
        my @mapitems = ();
        foreach my $page (keys %links) {
-               if (pagespec_match($page, $params{pages})) {
+               if (pagespec_match($page, $params{pages}, $params{page})) {
                        push @mapitems, $page;
                }
        }