From: thepurpleblob Date: Wed, 5 Jul 2006 12:39:35 +0000 (+0000) Subject: merged from STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=71ffbac2da785de69fe717d820569d5ddd147097;p=moodle.git merged from STABLE --- diff --git a/question/format/xml/format.php b/question/format/xml/format.php index 2aaae4e4cc..a756bd7bca 100755 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -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'] ); }