MDL-15221

The name of the introformat database field was incorrect and the
format was not saved.
This commit is contained in:
thepurpleblob
2008-06-12 09:35:28 +00:00
parent 933f6db4b9
commit 9075e36022
+1 -1
View File
@@ -20,7 +20,7 @@ class mod_journal_mod_form extends moodleform_mod {
$mform->addRule('intro', get_string('required'), 'required', null, 'client');
$mform->setHelpButton('intro', array('writing', 'questions', 'richtext'), false, 'editorhelpbutton');
$mform->addElement('format', 'format', get_string('format'));
$mform->addElement('format', 'introformat', get_string('format'));
$mform->addElement('modgrade', 'assessed', get_string('grade'), false);
$mform->setDefault('assessed', 0);