projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86660e9
)
fix inverted test
author
Joey Hess
<joey@kodama.kitenet.net>
Wed, 6 Aug 2008 05:15:48 +0000
(
01:15
-0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Wed, 6 Aug 2008 05:15:48 +0000
(
01:15
-0400)
IkiWiki/Plugin/attachment.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/attachment.pm
b/IkiWiki/Plugin/attachment.pm
index b81870ffb0ccef5711882f7d4dd045de3b6bff96..66b79cd824bc847ac0af1a84b546e7ebd746bf5f 100644
(file)
--- a/
IkiWiki/Plugin/attachment.pm
+++ b/
IkiWiki/Plugin/attachment.pm
@@
-143,7
+143,7
@@
sub formbuilder_setup (@) { #{{{
IkiWiki::userinfo_set($user_name, "allowed_attachments",
$form->field("allowed_attachments")) ||
error("failed to set allowed_attachments");
- if (length $form->field("allowed_attachments")) {
+ if (
!
length $form->field("allowed_attachments")) {
$form->field(name => "allowed_attachments", type => "hidden");
}
}