From 556be2831b16665c38eee83daf0b5e402f7b86d8 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 28 Nov 2007 12:45:57 +0000 Subject: [PATCH] MDL-12369 - get_actual_response should not truncate the student's response. Merged from MOODLE_19_STABLE. --- 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 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[] = ''; } -- 2.39.5