]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12079 fixed use of clean_param()
authorskodak <skodak>
Sat, 10 Nov 2007 14:54:39 +0000 (14:54 +0000)
committerskodak <skodak>
Sat, 10 Nov 2007 14:54:39 +0000 (14:54 +0000)
question/type/essay/questiontype.php

index b5ea279f26f887a2372905df1e744c0ed5cbfcb4..240872c2d718239e916d1ea8b54e7ff653b5305f 100644 (file)
@@ -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;