]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/map.pm
Allow add_depends to take an arrayref
[ikiwiki.git] / IkiWiki / Plugin / map.pm
index 826dbbd66ba68dee4401b259c2d3b87ae7e5d1ea..cc977024d07ccc37f89b2d533e88d99123ab4075 100644 (file)
@@ -73,7 +73,7 @@ sub preprocess (@) {
        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));
+       add_depends($params{page}, [keys %mapitems]);
 
        # Create the map.
        my $parent="";