From 99bd2ec8aa2b8e82ae5e2d1b8b7e1f49abe648df Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 2 Sep 2008 03:00:51 +0000 Subject: [PATCH] MDL-15405 Send the correct filearea forum_attachment (not that we really use it) --- mod/forum/post_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } -- 2.39.5