Bug #6011 - fixed bug dropping question name from cloze questions.

This commit is contained in:
thepurpleblob
2006-07-05 12:38:51 +00:00
parent 87e2569a2b
commit cdc03b2a02
+1 -1
View File
@@ -145,7 +145,7 @@ class qformat_xml extends qformat_default {
$qo->qtype = MULTIANSWER;
$qo->course = $this->course;
if (!empty($thequestion)) {
if (!empty($questions)) {
$qo->name = $this->import_text( $questions['#']['name'][0]['#']['text'] );
}