merged from STABLE

This commit is contained in:
thepurpleblob 2006-07-05 12:39:35 +00:00
parent 9e452c0d7b
commit 71ffbac2da

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'] );
}