Getting same records twice... ;-)

This commit is contained in:
stronk7 2009-09-08 08:41:43 +00:00
parent b28c784fd0
commit 63dc5bfcb2

View File

@ -413,7 +413,6 @@ class question_multichoice_qtype extends default_questiontype {
global $DB;
$status = true;
$multichoices = $DB->get_records("question_multichoice",array("question"=>$question),"id");
$multichoices = $DB->get_records("question_multichoice",array("question" => $question),"id");
if ($multichoices) {
//Iterate over each multichoice