From 0e7a3640aec280eb19330285308af6ad7535627f Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Tue, 27 Apr 2010 12:10:58 -0400
Subject: [PATCH] template: Fix typo.

---
 IkiWiki/Plugin/template.pm | 2 +-
 debian/changelog           | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

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},
diff --git a/debian/changelog b/debian/changelog
index 411f67bd1..b19840865 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (3.20100428) UNRELEASED; urgency=low
+
+  * template: Fix typo.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 27 Apr 2010 12:10:51 -0400
+
 ikiwiki (3.20100427) unstable; urgency=low
 
   [ Joey Hess ]
-- 
2.39.5