From ba0d82e7ea655b47683097f142e73fd29b684f47 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 23 Feb 2007 19:36:31 +0000 Subject: * Patch from HenrikBrixAndersen to fix a broken use of foreach in the search plugin. --- IkiWiki/Plugin/search.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'IkiWiki') 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(); -- cgit v1.2.3