external: Fix support for hooks called in an array context.

master
Joey Hess 2008-08-06 01:05:44 -04:00
parent 68018323ae
commit 86660e9c82
2 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,7 @@ sub hook ($@) { #{{{
delete $params{call};
IkiWiki::hook(%params, call => sub {
my $ret=IkiWiki::Plugin::external::rpc_call($plugin, $callback, @_);
return $ret;
IkiWiki::Plugin::external::rpc_call($plugin, $callback, @_);
});
} #}}}

1
debian/changelog vendored
View File

@ -24,6 +24,7 @@ ikiwiki (2.60) UNRELEASED; urgency=low
* autoindex: Ignore internal pages, and take underlay directories into
account. Also, avoid making index pages for directories that contain
no files.
* external: Fix support for hooks called in an array context.
-- Joey Hess <joeyh@debian.org> Mon, 21 Jul 2008 11:35:46 -0400