Permalink
Browse files

MDL-30639 mod_lesson: Used a consistent format for users display of a…

…nswer
  • Loading branch information...
1 parent 965344c commit 9e9e0732f5c1130818fd600a1242803b1e4d5e89 Sam Hemelryk committed Dec 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/pagetypes/essay.php
@@ -218,7 +218,7 @@ public function report_answers($answerpage, $answerdata, $useranswer, $pagestats
// dont think this should ever be reached....
$avescore = get_string("nooneansweredthisquestion", "lesson");
}
- $answerdata->answers[] = array(format_text($essayinfo->answer, $answerdata->responseformat, $formattextdefoptions), $avescore);
+ $answerdata->answers[] = array(format_text($essayinfo->answer, FORMAT_MOODLE, $formattextdefoptions), $avescore);
$answerpage->answerdata = $answerdata;
}
return $answerpage;

0 comments on commit 9e9e073

Please sign in to comment.