]> git.mjollnir.org Git - moodle.git/commitdiff
Use the missingtype question type to print the explanation message when a random...
authorgustav_delius <gustav_delius>
Sun, 30 Apr 2006 17:31:33 +0000 (17:31 +0000)
committergustav_delius <gustav_delius>
Sun, 30 Apr 2006 17:31:33 +0000 (17:31 +0000)
question/type/random/questiontype.php

index 93ab0f18792e4974e6f1a15cdbc69acce8fd377b..2f35ca1415620896df8147f0918f341c4ffdc430 100644 (file)
@@ -134,7 +134,7 @@ class random_qtype extends default_questiontype {
                 $wrappedquestion = clone($question);
                 $wrappedquestion->id = $answerregs[1];
                 $wrappedquestion->questiontext = get_string('questiondeleted', 'quiz');
-                $wrappedquestion->qtype = 'description';
+                $wrappedquestion->qtype = 'missingtype';
             }
             $state->responses[''] = (false === $answerregs[2]) ? '' : $answerregs[2];
         }