* Patch from HenrikBrixAndersen to fix a broken use of foreach in the

search plugin.
master
joey 2007-02-23 19:36:31 +00:00
parent 913896f312
commit ba0d82e7ea
3 changed files with 10 additions and 4 deletions

View 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();

4
debian/changelog vendored
View 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

View File

@ -46,4 +46,7 @@ The patch below fixes this issue:
+ } @{$renderedfiles{pagename($_)}};
} @_
);
estcfg();
estcfg();
[[bugs/done]] ; thanks for the patch. Suprised it worked at all since the
bad code was added (did it?) --[[Joey]]