MDL-15405 Send the correct filearea forum_attachment (not that we really use it)
This commit is contained in:
@@ -53,7 +53,7 @@ class mod_forum_post_form extends moodleform {
|
||||
}
|
||||
|
||||
if ($forum->maxbytes != 1 && has_capability('mod/forum:createattachment', $modcontext)) { // 1 = No attachments at all
|
||||
$mform->addElement('filepicker', 'attachment', get_string('attachment', 'forum'), 'forumpost');
|
||||
$mform->addElement('filepicker', 'attachment', get_string('attachment', 'forum'), 'forum_attachment');
|
||||
$mform->setHelpButton('attachment', array('attachment', get_string('attachment', 'forum'), 'forum'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user