mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-27626 random question conversion support
This commit is contained in:
parent
0e3a69b0e5
commit
c15649fbd2
@ -1141,7 +1141,7 @@ class moodle1_question_bank_handler extends moodle1_xml_handler {
|
||||
}
|
||||
// unless we know that the given qtype does not append any own structures,
|
||||
// give the handler a chance to do so now
|
||||
if (!in_array($qtype, array('description'))) {
|
||||
if (!in_array($qtype, array('description', 'random'))) {
|
||||
$handler = $this->get_qtype_handler($qtype);
|
||||
if ($handler === false) {
|
||||
debugging('Question type '.$qtype.' converter not found.', DEBUG_DEVELOPER);
|
||||
|
Loading…
x
Reference in New Issue
Block a user