From e65701ee2d8fc571691da042720153d4d4068486 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 23 Feb 2010 14:31:07 +0000 Subject: [PATCH] nobug: whitespace fixes. --- question/type/questiontype.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/type/questiontype.php b/question/type/questiontype.php index bb7427de29f..e7ccc4d08dd 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -1297,13 +1297,13 @@ class default_questiontype { * @param object $state The state whose responses are to be summarized * @param int $length The maximum length of the returned string */ - function response_summary($question, $state, $length=80, $formatting=true) { + function response_summary($question, $state, $length = 80, $formatting = true) { // This should almost certainly be overridden $responses = $this->get_actual_response($question, $state); if ($formatting){ $responses = $this->format_responses($responses, $question->questiontextformat); } - $responses = implode(';', $responses); + $responses = implode('; ', $responses); return shorten_text($responses, $length); } /**