diff --git a/question/type/ddmarker/questiontype.php b/question/type/ddmarker/questiontype.php index 78c44a652c1..bea6d30f78b 100644 --- a/question/type/ddmarker/questiontype.php +++ b/question/type/ddmarker/questiontype.php @@ -298,11 +298,11 @@ class qtype_ddmarker extends qtype_ddtoimage_base { $fs->get_area_files($contextid, 'qtype_ddmarker', 'dragimage', $drag->id); $output .= " \n"; $output .= " {$drag->no}\n"; - $output .= $format->writetext($drag->label, 3)."\n"; + $output .= $format->writetext($drag->label, 3); if ($drag->infinite) { $output .= " \n"; } - $output .= " {$drag->no}\n"; + $output .= " {$drag->noofdrags}\n"; $output .= " \n"; } foreach ($question->options->drops as $drop) {