From: moodler Date: Tue, 2 Sep 2008 03:00:51 +0000 (+0000) Subject: MDL-15405 Send the correct filearea forum_attachment (not that we really use it) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=99bd2ec8aa2b8e82ae5e2d1b8b7e1f49abe648df;p=moodle.git MDL-15405 Send the correct filearea forum_attachment (not that we really use it) --- diff --git a/mod/forum/post_form.php b/mod/forum/post_form.php index 8b1e8e707a..a7ad46be46 100644 --- a/mod/forum/post_form.php +++ b/mod/forum/post_form.php @@ -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')); }