Permalink
Browse files

MFC: MDL-12079 fixed use of clean_param()

  • Loading branch information...
skodak
skodak committed Nov 10, 2007
1 parent abe9371 commit 845df47c1120410104c0daea17ba13152dabc058
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/essay/questiontype.php
@@ -107,7 +107,7 @@ function print_question_formulation_and_controls(&$question, &$state, $cmoptions
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;

0 comments on commit 845df47

Please sign in to comment.