aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/attachment.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-06-15 18:37:12 -0400
committerJoey Hess <joey@kitenet.net>2011-06-15 18:37:12 -0400
commitf77452b7caa7346625882d20f396b7154cda6a54 (patch)
tree7b83f28899a264940e7255f879e042c9293bc6df /IkiWiki/Plugin/attachment.pm
parent00c0677588920832bad40d10f7d0fee5312fb115 (diff)
downloadikiwiki-f77452b7caa7346625882d20f396b7154cda6a54.tar
ikiwiki-f77452b7caa7346625882d20f396b7154cda6a54.tar.gz
WIP
Diffstat (limited to 'IkiWiki/Plugin/attachment.pm')
-rw-r--r--IkiWiki/Plugin/attachment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index cb4f4dcd6..fdae8d1e0 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -119,7 +119,7 @@ sub formbuilder (@) {
return if ! defined $form->field("do") || ($form->field("do") ne "edit" && $form->field("do") ne "create") ;
- my $filename=Encode::decode_utf8($q->param('attachments'));
+ my $filename=Encode::decode_utf8($q->param('attachment'));
if (defined $filename && length $filename) {
attachment_store($filename, $form, $q, $params{session});
}