MDL-47494 ddmarker: NOBUG fix to silly typo that was causing response summary not to be shown

This commit is contained in:
Jamie Pratt
2011-11-23 20:16:39 +07:00
parent 14230fd6dc
commit bd3406adf9
+1 -1
View File
@@ -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);