projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow add_depends to take an arrayref
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
map.pm
diff --git
a/IkiWiki/Plugin/map.pm
b/IkiWiki/Plugin/map.pm
index 826dbbd66ba68dee4401b259c2d3b87ae7e5d1ea..cc977024d07ccc37f89b2d533e88d99123ab4075 100644
(file)
--- a/
IkiWiki/Plugin/map.pm
+++ b/
IkiWiki/Plugin/map.pm
@@
-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}, $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="";
# Create the map.
my $parent="";