]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/map.pm
Remove now-unused function pagespec_merge
[git.ikiwiki.info.git] / IkiWiki / Plugin / map.pm
index 120451b5dbde60a26ae165e391cf56232cc30111..e932932f3ba0eeefe99b379189aa3ba870675647 100644 (file)
@@ -73,7 +73,9 @@ sub preprocess (@) {
        add_depends($params{page}, $params{pages});
        # Explicitly add all currently shown pages, to detect when pages
        # are removed.
        add_depends($params{page}, $params{pages});
        # Explicitly add all currently shown pages, to detect when pages
        # are removed.
-       add_depends($params{page}, join(" or ", keys %mapitems));
+       foreach my $item (keys %mapitems) {
+               add_depends($params{page}, $item);
+       }
 
        # Create the map.
        my $parent="";
 
        # Create the map.
        my $parent="";