From 0e7a3640aec280eb19330285308af6ad7535627f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 27 Apr 2010 12:10:58 -0400 Subject: template: Fix typo. --- IkiWiki/Plugin/template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm index 52c482c38..b8c2f05b2 100644 --- a/IkiWiki/Plugin/template.pm +++ b/IkiWiki/Plugin/template.pm @@ -53,7 +53,7 @@ sub preprocess (@) { foreach my $param (keys %params) { my $value=IkiWiki::preprocess($params{page}, $params{destpage}, - IkiWiki::filter($params{page}, $params{destpagea}, + IkiWiki::filter($params{page}, $params{destpage}, $params{$param}), $scan); if ($template->query(name => $param)) { my $htmlvalue=IkiWiki::htmlize($params{page}, $params{destpage}, -- cgit v1.2.3