From e95d204d9af39c96490114319952215c560b2972 Mon Sep 17 00:00:00 2001 From: pichetp Date: Wed, 12 Nov 2008 07:02:25 +0000 Subject: [PATCH] MDL-14763 remove automatic numbering of multichoice vertical or horizontal display --- question/type/multianswer/questiontype.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index 9df39188c1..e8efa05464 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -527,9 +527,10 @@ class embedded_cloze_qtype extends default_questiontype { } } - // Print the answer text - $a->text = '' . $ordernumber . '. ' . - format_text($mcanswer->answer, FORMAT_MOODLE, $formatoptions, $cmoptions->course); + // Print the answer text + // 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 -- 2.39.5