diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-15 18:37:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-15 18:37:12 -0400 |
commit | f77452b7caa7346625882d20f396b7154cda6a54 (patch) | |
tree | 7b83f28899a264940e7255f879e042c9293bc6df /IkiWiki/Plugin/attachment.pm | |
parent | 00c0677588920832bad40d10f7d0fee5312fb115 (diff) | |
download | ikiwiki-f77452b7caa7346625882d20f396b7154cda6a54.tar ikiwiki-f77452b7caa7346625882d20f396b7154cda6a54.tar.gz |
WIP
Diffstat (limited to 'IkiWiki/Plugin/attachment.pm')
-rw-r--r-- | IkiWiki/Plugin/attachment.pm | 2 |
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}); } |