MDL-47712 question_multianswer: Concat as string
authorDavid Monllao <davidm@moodle.com>
Mon, 16 Mar 2015 04:25:22 +0000 (12:25 +0800)
committerDavid Monllao <davidm@moodle.com>
Mon, 16 Mar 2015 04:28:51 +0000 (12:28 +0800)
question/type/multianswer/renderer.php

index aff9fe9..1e16398 100644 (file)
@@ -50,7 +50,7 @@ class qtype_multianswer_renderer extends qtype_renderer {
             if ($i > 0) {
                 $index = $question->places[$i];
                 $token = 'qtypemultianswer' . $i . 'marker';
-                $token = '<span class="nolink">' + $token + '</span>';
+                $token = '<span class="nolink">' . $token . '</span>';
                 $output .= $token;
                 $subquestions[$token] = $this->subquestion($qa, $options, $index,
                         $question->subquestions[$index]);