]> sipb.mit.edu Git - ikiwiki.git/commitdiff
pass pagespec parameters along from match_tagged
authorJoey Hess <joey@kitenet.net>
Wed, 21 Apr 2010 23:46:27 +0000 (19:46 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 21 Apr 2010 23:46:27 +0000 (19:46 -0400)
IkiWiki/Plugin/tag.pm

index 7a85874f6e928e11e85ec57aee279b0d8197687c..62e0cc3b82e04437b63742d61ad90b4ab0fd73ff 100644 (file)
@@ -125,7 +125,9 @@ sub pagetemplate (@) {
 package IkiWiki::PageSpec;
 
 sub match_tagged ($$;@) {
 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
 }
 
 1