From d6358f2d1816d72d4f5d4bdfd92542fcee01cee1 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 10 Nov 2007 14:51:34 +0000 Subject: [PATCH] MFC: MDL-12079 fixed use of clean_param() --- question/type/essay/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/essay/questiontype.php b/question/type/essay/questiontype.php index b92c3443cb9..04ef6555bff 100644 --- a/question/type/essay/questiontype.php +++ b/question/type/essay/questiontype.php @@ -107,7 +107,7 @@ class question_essay_qtype extends default_questiontype { function grade_responses(&$question, &$state, $cmoptions) { // All grading takes place in Manual Grading - clean_param($state->responses[''], PARAM_CLEANHTML); + $state->responses[''] = clean_param($state->responses[''], PARAM_CLEAN); $state->raw_grade = 0; $state->penalty = 0;