Skip to content

Commit

Permalink
MDL-15221
Browse files Browse the repository at this point in the history
The name of the introformat database field was incorrect and the
format was not saved.
  • Loading branch information
thepurpleblob committed Jun 12, 2008
1 parent 933f6db commit 9075e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/journal/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function definition() {
$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);
Expand Down

0 comments on commit 9075e36

Please sign in to comment.