mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-38597 forum: fix incompetent programmer error ;-)
Shameful, Fred!
This commit is contained in:
parent
6f0fdc9bb2
commit
f1b0908b8a
@ -48,7 +48,7 @@ class mod_forum_mod_form extends moodleform_mod {
|
||||
|
||||
$this->add_intro_editor(true, get_string('forumintro', 'forum'));
|
||||
|
||||
$forumtypes = forum_get_forumtypes();
|
||||
$forumtypes = forum_get_forum_types();
|
||||
collatorlib::asort($forumtypes, collatorlib::SORT_STRING);
|
||||
$mform->addElement('select', 'type', get_string('forumtype', 'forum'), $forumtypes);
|
||||
$mform->addHelpButton('type', 'forumtype', 'forum');
|
||||
|
Loading…
x
Reference in New Issue
Block a user