Fixed bug 5187 that led to error when creating cloze question

This commit is contained in:
gustav_delius
2006-04-13 21:23:15 +00:00
parent f2d660dcb2
commit bd9964841d
@@ -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;