external: Fix support for hooks called in an array context.
parent
68018323ae
commit
86660e9c82
|
@ -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, @_);
|
||||
});
|
||||
} #}}}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue