Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-15221

The name of the introformat database field was incorrect and the
format was not saved.
  • Loading branch information...
commit 9075e360224446efe796fe62cfd54cd216d8ef18 1 parent 933f6db
thepurpleblob authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/journal/mod_form.php
View
2  mod/journal/mod_form.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.