From 6995ba729a2863e483f2e16a830efebd6cf9022e Mon Sep 17 00:00:00 2001 From: pichetp Date: Wed, 12 Nov 2008 07:05:21 +0000 Subject: [PATCH] MDL-14763 remove automatic numbering of multichoice vertical or horizontal display --- question/type/multianswer/questiontype.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index 7c9da871d1e..ad2fedba810 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -480,8 +480,9 @@ class embedded_cloze_qtype extends default_questiontype { } // Print the answer text - $a->text = '' . $ordernumber . '. ' . - format_text($mcanswer->answer, FORMAT_MOODLE, $formatoptions, $cmoptions->course); + // Remove automatic numbering + // $a->text = $ordernumber' . $ordernumber . '.'. + $a->text =format_text($mcanswer->answer, FORMAT_MOODLE, $formatoptions, $cmoptions->course); // Print feedback if feedback is on if (($options->feedback || $options->correct_responses) && ($checked )) { //|| $options->readonly