MDL-47494 ddmarker: NOBUG fix to silly typo that was causing response summary not to be shown
This commit is contained in:
@@ -358,7 +358,7 @@ class qtype_ddmarker_question extends qtype_ddtoimage_question_base {
|
||||
$goodhits[] = "{".$place->summarise()." -> ". $choice->summarise(). "}";
|
||||
}
|
||||
}
|
||||
if (count($goodhits)) {
|
||||
if (count($goodhits) == 0) {
|
||||
return null;
|
||||
}
|
||||
return implode(', ', $goodhits);
|
||||
|
||||
Reference in New Issue
Block a user