projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f30a2
)
don't run check_canedit in nonfatal mode
author
Joey Hess
<joey@kitenet.net>
Mon, 30 Aug 2010 19:57:10 +0000
(15:57 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 30 Aug 2010 19:57:10 +0000
(15:57 -0400)
IkiWiki/Plugin/attachment.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/attachment.pm
b/IkiWiki/Plugin/attachment.pm
index ee105a1709f3fe71e0e44a47782e9596791dbbf9..f73e355ee3ecf49a005b1b31f8ca8567427998e6 100644
(file)
--- a/
IkiWiki/Plugin/attachment.pm
+++ b/
IkiWiki/Plugin/attachment.pm
@@
-146,7
+146,7
@@
sub formbuilder (@) {
# Check that the user is allowed to edit a page with the
# name of the attachment.
- IkiWiki::check_canedit($filename, $q, $session
, 1
);
+ IkiWiki::check_canedit($filename, $q, $session);
# And that the attachment itself is acceptable.
check_canattach($session, $filename, $tempfile);