]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/attachment.pm
Added a comment
[git.ikiwiki.info.git] / IkiWiki / Plugin / attachment.pm
index ee105a1709f3fe71e0e44a47782e9596791dbbf9..f73e355ee3ecf49a005b1b31f8ca8567427998e6 100644 (file)
@@ -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);