Skip to content

Commit

Permalink
MDL-12079 fixed use of clean_param()
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 10, 2007
1 parent 6ec4017 commit 9bd7f37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions question/type/essay/questiontype.php
Expand Up @@ -110,8 +110,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;
Expand Down

0 comments on commit 9bd7f37

Please sign in to comment.