From: skodak Date: Sun, 7 Sep 2008 22:35:37 +0000 (+0000) Subject: MDL-15906 filepicker support in all file functions in formslib X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9fcb74407c3a8bbb85341ade49ef7126acfafa65;p=moodle.git MDL-15906 filepicker support in all file functions in formslib --- diff --git a/mod/forum/post_form.php b/mod/forum/post_form.php index a7ad46be46..c9b05eb2de 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'), 'forum_attachment'); + $mform->addElement('filepicker', 'attachment', get_string('attachment', 'forum')); $mform->setHelpButton('attachment', array('attachment', get_string('attachment', 'forum'), 'forum')); }