From 71ffbac2da785de69fe717d820569d5ddd147097 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 5 Jul 2006 12:39:35 +0000 Subject: [PATCH] merged from STABLE --- question/format/xml/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ); } -- 2.39.5