MDL-32213 Question upgrade now correctly handles non-core manually-graded question types
This commit is contained in:
committed by
Dan Poltawski
parent
41b4bb03b2
commit
ed9cc071d5
@@ -357,7 +357,8 @@ class question_engine_attempt_upgrader {
|
||||
return 'qbehaviour_manualgraded_converter';
|
||||
}
|
||||
}
|
||||
if ($question->qtype == 'essay') {
|
||||
$qtype = question_bank::get_qtype($question->qtype, false);
|
||||
if ($qtype->is_manual_graded()) {
|
||||
return 'qbehaviour_manualgraded_converter';
|
||||
} else if ($question->qtype == 'description') {
|
||||
return 'qbehaviour_informationitem_converter';
|
||||
|
||||
Reference in New Issue
Block a user