don't run check_canedit in nonfatal mode
parent
07f30a288d
commit
7784e0b7b8
|
@ -146,7 +146,7 @@ sub formbuilder (@) {
|
||||||
|
|
||||||
# Check that the user is allowed to edit a page with the
|
# Check that the user is allowed to edit a page with the
|
||||||
# name of the attachment.
|
# name of the attachment.
|
||||||
IkiWiki::check_canedit($filename, $q, $session, 1);
|
IkiWiki::check_canedit($filename, $q, $session);
|
||||||
# And that the attachment itself is acceptable.
|
# And that the attachment itself is acceptable.
|
||||||
check_canattach($session, $filename, $tempfile);
|
check_canattach($session, $filename, $tempfile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue