From: skodak Date: Sat, 10 Nov 2007 14:54:39 +0000 (+0000) Subject: MDL-12079 fixed use of clean_param() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3f24c397000978d21fd51d308f3ff8c5b298759e;p=moodle.git MDL-12079 fixed use of clean_param() --- diff --git a/question/type/essay/questiontype.php b/question/type/essay/questiontype.php index b5ea279f26..240872c2d7 100644 --- a/question/type/essay/questiontype.php +++ b/question/type/essay/questiontype.php @@ -110,6 +110,7 @@ class question_essay_qtype extends default_questiontype { function grade_responses(&$question, &$state, $cmoptions) { // All grading takes place in Manual Grading + $state->responses[''] = clean_param($state->responses[''], PARAM_CLEAN); $state->raw_grade = 0;