diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-06 12:57:37 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-06 12:57:37 -0400 |
commit | d3188a04fff1d0ed7329b3aae8343beaf1735390 (patch) | |
tree | 6919ee2e543ce46a4dfcb3b714edd7cdc8579b22 /IkiWiki/Plugin | |
parent | 2a7721febd6cac1af5e7f4b4949ffe066c62c837 (diff) | |
download | ikiwiki-d3188a04fff1d0ed7329b3aae8343beaf1735390.tar ikiwiki-d3188a04fff1d0ed7329b3aae8343beaf1735390.tar.gz |
external: Fix pagespec_match and pagespec_match_list. Closes: #527281
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/external.pm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm index f0acc7e4e..57a72eb68 100644 --- a/IkiWiki/Plugin/external.pm +++ b/IkiWiki/Plugin/external.pm @@ -232,15 +232,21 @@ sub hook ($@) { sub pagespec_match ($@) { # convert return object into a XML RPC boolean my $plugin=shift; + my $page=shift; + my $spec=shift; - return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match(@_)); + return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match( + $page, $spec, @_)); } sub pagespec_match_list ($@) { # convert return object into a XML RPC boolean my $plugin=shift; + my $pages=shift; + my $spec=shift; - return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match_list(@_)); + return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match_list( + $pages, $spec, @_)); } 1 |