Merge branch 'MDL-27737_2.0' of git://github.com/timhunt/moodle into MOODLE_20_STABLE
This commit is contained in:
@@ -71,7 +71,7 @@ function xmldb_qtype_numerical_upgrade($oldversion) {
|
||||
JOIN {question} q ON qno.question = q.id');
|
||||
foreach ($rs as $record) {
|
||||
if ($CFG->texteditors !== 'textarea' && $record->oldquestiontextformat == FORMAT_MOODLE) {
|
||||
$record->instructions = text_to_html($record->questiontext, false, false, true);
|
||||
$record->instructions = text_to_html($record->instructions, false, false, true);
|
||||
$record->instructionsformat = FORMAT_HTML;
|
||||
} else {
|
||||
$record->instructionsformat = $record->oldquestiontextformat;
|
||||
|
||||
Reference in New Issue
Block a user