Permalink
Browse files

nobug: whitespace fixes.

  • Loading branch information...
1 parent 0f6a49d commit 74aabeb08afaa38e2bc795665464122b935dfec9 @timhunt timhunt committed Feb 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/type/questiontype.php
@@ -1183,14 +1183,14 @@ function print_question_submit_buttons(&$question, &$state, $cmoptions, $options
* @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) {
+ function response_summary($question, $state, $length = 80) {
// This should almost certainly be overridden
$responses = $this->get_actual_response($question, $state);
if (empty($responses) || !is_array($responses)) {
$responses = array();
}
if (is_array($responses)) {
- $responses = implode(',', array_map('s', $responses));
+ $responses = implode(', ', array_map('s', $responses));
}
return shorten_text($responses, $length);
}

0 comments on commit 74aabeb

Please sign in to comment.