diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-21 19:46:27 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-21 19:46:27 -0400 |
commit | 77779dc4a09a9b686935e8e615cf2502f7125bb4 (patch) | |
tree | 0a02f5efd621f1d50810945b4c09c8cadf2d1c03 /IkiWiki | |
parent | 673d6c958050b7ce07d5d8512d5370f9531225cd (diff) | |
download | ikiwiki-77779dc4a09a9b686935e8e615cf2502f7125bb4.tar ikiwiki-77779dc4a09a9b686935e8e615cf2502f7125bb4.tar.gz |
pass pagespec parameters along from match_tagged
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/tag.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 7a85874f6..62e0cc3b8 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -125,7 +125,9 @@ sub pagetemplate (@) { package IkiWiki::PageSpec; sub match_tagged ($$;@) { - return match_link($_[0], IkiWiki::Plugin::tag::tagpage($_[1]), linktype => 'tag'); + my $page=shift; + my $glob=shift; + return match_link($page, IkiWiki::Plugin::tag::tagpage($glob), linktype => 'tag', @_); } 1 |