Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-29528_20' of git://github.com/timhunt/moodle into M…

…OODLE_20_STABLE
  • Loading branch information...
commit b506a6f08e88bce05f58b844942efe854467450f 2 parents 30a7869 + 7c144c4
@stronk7 stronk7 authored
View
2  question/type/calculated/db/upgrade.php
@@ -183,7 +183,7 @@ function xmldb_qtype_calculated_upgrade($oldversion) {
$record->incorrectfeedbackformat = FORMAT_HTML;
} else {
$record->correctfeedbackformat = $record->oldquestiontextformat;
- $record->partiallycorrectfeedback = $record->oldquestiontextformat;
+ $record->partiallycorrectfeedbackformat = $record->oldquestiontextformat;
$record->incorrectfeedbackformat = $record->oldquestiontextformat;
}
$DB->update_record('question_calculated_options', $record);
View
2  question/type/multichoice/db/upgrade.php
@@ -98,7 +98,7 @@ function xmldb_qtype_multichoice_upgrade($oldversion) {
$record->incorrectfeedbackformat = FORMAT_HTML;
} else {
$record->correctfeedbackformat = $record->oldquestiontextformat;
- $record->partiallycorrectfeedback = $record->oldquestiontextformat;
+ $record->partiallycorrectfeedbackformat = $record->oldquestiontextformat;
$record->incorrectfeedbackformat = $record->oldquestiontextformat;
}
$DB->update_record('question_multichoice', $record);
Please sign in to comment.
Something went wrong with that request. Please try again.