diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-08-25 17:09:52 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-25 17:09:52 -0400 |
commit | fc445f6b70421ffc00cc414b92b038f73804cbc1 (patch) | |
tree | 86f4eca93d474145aa666d66fbb54e8f06f1e64f /IkiWiki/Plugin/map.pm | |
parent | 99626615ff41a257090414bf500a83674e8fdc27 (diff) | |
parent | bc6e50a075b164100d3144a13633647613a3dc8e (diff) |
Merge commit 'smcv/ready/optimize-depends'
Diffstat (limited to 'IkiWiki/Plugin/map.pm')
-rw-r--r-- | IkiWiki/Plugin/map.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index 826dbbd66..cc977024d 100644 --- 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}, join(" or ", keys %mapitems)); + add_depends($params{page}, [keys %mapitems]); # Create the map. my $parent=""; |