Multichoice defaults to a single answer

This commit is contained in:
moodler 2004-03-24 14:36:52 +00:00
parent ead6351e85
commit b85806454b

View file

@ -261,7 +261,7 @@
if (!empty($question->id)) {
$options = get_record("quiz_multichoice", "question", $question->id);
} else {
$options->single = "";
$options->single = 1;
}
if (!empty($options->answers)) {
$answersraw = get_records_list("quiz_answers", "id", $options->answers);