From: tjhunt Date: Wed, 28 Nov 2007 12:45:57 +0000 (+0000) Subject: MDL-12369 - get_actual_response should not truncate the student's response. Merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=556be2831b16665c38eee83daf0b5e402f7b86d8;p=moodle.git MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE. --- diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 3ff567597d..9807d7351f 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -686,10 +686,8 @@ class default_questiontype { */ // ULPGC ecastro function get_actual_response($question, $state) { - // change length to truncate responses here if you want - $lmax = 40; if (!empty($state->responses)) { - $responses[] = shorten_text(stripslashes($state->responses['']), 45); + $responses[] = stripslashes($state->responses['']); } else { $responses[] = ''; }