diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 08e7ce3fe16..05ab192a5d8 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -913,7 +913,7 @@ class default_questiontype { $table->data[] = array ( $link, $b.get_string('event'.$st->event, 'quiz').$be, - $b.$this->response_summary($question, $st).$be, + $b.s($this->response_summary($question, $st)).$be, $b.userdate($st->timestamp, get_string('timestr', 'quiz')).$be, $b.round($st->raw_grade, $cmoptions->decimalpoints).$be, //$b.round($st->penalty, $cmoptions->decimalpoints).$be, @@ -923,7 +923,7 @@ class default_questiontype { $table->data[] = array ( $link, $b.get_string('event'.$st->event, 'quiz').$be, - $b.$this->response_summary($question, $st).$be, + $b.s($this->response_summary($question, $st)).$be, $b.userdate($st->timestamp, get_string('timestr', 'quiz')).$be, ); }