mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Getting same records twice... ;-)
This commit is contained in:
parent
b28c784fd0
commit
63dc5bfcb2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user