Permalink
Browse files

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

…OODLE_20_STABLE
  • Loading branch information...
2 parents 30a7869 + 7c144c4 commit b506a6f08e88bce05f58b844942efe854467450f @stronk7 stronk7 committed Sep 26, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 question/type/calculated/db/upgrade.php
  2. +1 −1 question/type/multichoice/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);
@@ -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);

0 comments on commit b506a6f

Please sign in to comment.