]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 23 Feb 2007 19:36:31 +0000 (19:36 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 23 Feb 2007 19:36:31 +0000 (19:36 +0000)
  search plugin.

IkiWiki/Plugin/search.pm
debian/changelog
doc/bugs/Hyperestraier_search_plug-in_defective.mdwn

index 70d05d5a0fbe287946df41b120b16e4f87d02d31..61e9214e62a70dff8f86f58dfd26e2b2ffe0306f 100644 (file)
@@ -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();
index ead6f6b4de12eaf6193069a4fbdae296457f24f3..0005334d9d582009f01676acf231ff53d20e88aa 100644 (file)
@@ -34,8 +34,10 @@ ikiwiki (1.44) UNRELEASED; urgency=low
     (except for commit mails). The CGI then takes care of the updates the
     commit hook would have done.
   * French translation update. Closes: #411899
+  * Patch from HenrikBrixAndersen to fix a broken use of foreach in the
+    search plugin.
 
- -- Joey Hess <joeyh@debian.org>  Wed, 21 Feb 2007 13:34:09 -0500
+ -- Joey Hess <joeyh@debian.org>  Fri, 23 Feb 2007 14:34:18 -0500
 
 ikiwiki (1.43) unstable; urgency=low
 
index 7f22e0eaf70ebbfae9dcf7fc6e830a3cc60ca3c7..fd39ccd3bbe495a2ccaca7cec92e0ab201974893 100644 (file)
@@ -46,4 +46,7 @@ The patch below fixes this issue:
     +                       } @{$renderedfiles{pagename($_)}};
                     } @_
             );
-            estcfg();
\ No newline at end of file
+            estcfg();
+
+[[bugs/done]] ; thanks for the patch. Suprised it worked at all since the
+bad code was added (did it?) --[[Joey]]