Skip to content

Commit

Permalink
Use the missingtype question type to print the explanation message wh…
Browse files Browse the repository at this point in the history
…en a random question is missing
  • Loading branch information
gustav_delius committed Apr 30, 2006
1 parent 2be604b commit f57c624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/random/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function restore_session_and_responses(&$question, &$state) {
$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];
}
Expand Down

0 comments on commit f57c624

Please sign in to comment.