From: gustav_delius Date: Thu, 13 Apr 2006 21:23:15 +0000 (+0000) Subject: Fixed bug 5187 that led to error when creating cloze question X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bd9964841dc491dbd1a96212cfd8b33fd88f0ef3;p=moodle.git Fixed bug 5187 that led to error when creating cloze question --- diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index 913d645343..bbe3fa75cf 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -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;