MDL-15405 Send the correct filearea forum_attachment (not that we really use it)

This commit is contained in:
moodler
2008-09-02 03:00:51 +00:00
parent 21599d8cfc
commit 99bd2ec8aa
+1 -1
View File
@@ -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'));
}