MDL-27626 random question conversion support

This commit is contained in:
David Mudrak 2011-06-03 22:59:13 +02:00
parent 0e3a69b0e5
commit c15649fbd2

View File

@ -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);