]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed bug 5187 that led to error when creating cloze question
authorgustav_delius <gustav_delius>
Thu, 13 Apr 2006 21:23:15 +0000 (21:23 +0000)
committergustav_delius <gustav_delius>
Thu, 13 Apr 2006 21:23:15 +0000 (21:23 +0000)
question/type/multianswer/questiontype.php

index 913d645343100c1ea284eac23df98e23cb4a9119..bbe3fa75cffa6ad964c1999ea8ad0870bf658b1a 100644 (file)
@@ -73,7 +73,6 @@ class embedded_cloze_qtype extends default_questiontype {
             $wrapped->name     = $question->name;
             $wrapped->parent   = $question->id;
             $wrapped->category = $question->category;
-            $wrapped->version  = $question->version;
             $wrapped = $QTYPES[$wrapped->qtype]->save_question($wrapped,
              $wrapped, $question->course);
             $sequence[] = $wrapped->id;