diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-23 19:36:31 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-23 19:36:31 +0000 |
commit | ba0d82e7ea655b47683097f142e73fd29b684f47 (patch) | |
tree | c2b3c6a18bf474175ecce21b135d6bb01146e651 /IkiWiki/Plugin | |
parent | 913896f312f7689753f56157934529d3a4bce8d5 (diff) |
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
search plugin.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/search.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 70d05d5a0..61e9214e6 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -64,8 +64,9 @@ sub change (@) { #{{{ debug(gettext("updating hyperestraier search index")); estcmd("gather -cm -bc -cl -sd", map { - Encode::encode_utf8($config{destdir}."/".$_) - foreach @{$renderedfiles{pagename($_)}}; + map { + Encode::encode_utf8($config{destdir}."/".$_) + } @{$renderedfiles{pagename($_)}}; } @_ ); estcfg(); |