Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit cdc03b2a02a09fb6986992671ff330cfa38d0253 1 parent 87e2569
thepurpleblob authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  question/format/xml/format.php
View
2  question/format/xml/format.php
@@ -145,7 +145,7 @@ function import_multianswer( $questions ) {
$qo->qtype = MULTIANSWER;
$qo->course = $this->course;
- if (!empty($thequestion)) {
+ if (!empty($questions)) {
$qo->name = $this->import_text( $questions['#']['name'][0]['#']['text'] );
}
Please sign in to comment.
Something went wrong with that request. Please try again.