]> git.mjollnir.org Git - moodle.git/commitdiff
merged from STABLE
authorthepurpleblob <thepurpleblob>
Wed, 5 Jul 2006 12:39:35 +0000 (12:39 +0000)
committerthepurpleblob <thepurpleblob>
Wed, 5 Jul 2006 12:39:35 +0000 (12:39 +0000)
question/format/xml/format.php

index 2aaae4e4cc2e5f35fb8ee3f40c2327fbaf9d3416..a756bd7bca183c7488c412f0f714d81ce96a4241 100755 (executable)
@@ -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'] );
         }