From 49aeee2bf6cbbe95fdd98a6625c5df759f9266f0 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 28 Nov 2007 12:45:42 +0000 Subject: [PATCH] MDL-12369 - get_actual_response should not truncate the student's response. --- question/type/questiontype.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 3ff567597d6..9807d7351f0 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[] = ''; }