aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/editpage.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-24 16:11:33 -0400
committerJoey Hess <joey@kitenet.net>2010-04-24 16:15:47 -0400
commitc2656f08f3a3671b0ba7dc861d53347c7f695ec1 (patch)
tree9ad3923dc69eadf77ff470a139668c5714994514 /IkiWiki/Plugin/editpage.pm
parent7099978b7255db504ea17ccd07533e86c2b262fa (diff)
downloadikiwiki-c2656f08f3a3671b0ba7dc861d53347c7f695ec1.tar
ikiwiki-c2656f08f3a3671b0ba7dc861d53347c7f695ec1.tar.gz
template() - return params in list context
I forgot CGI::Formbuilder's horrible interface that needs template parameters instead of a constructed object.
Diffstat (limited to 'IkiWiki/Plugin/editpage.pm')
-rw-r--r--IkiWiki/Plugin/editpage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm
index 5c94ecbca..7bb6eb07c 100644
--- a/IkiWiki/Plugin/editpage.pm
+++ b/IkiWiki/Plugin/editpage.pm
@@ -78,7 +78,7 @@ sub cgi_editpage ($$) {
action => $config{cgiurl},
header => 0,
table => 0,
- template => template("editpage.tmpl"),
+ template => { template("editpage.tmpl") },
);
decode_form_utf8($form);