MDL-11084, "s in grade comments causes problems

This commit is contained in:
toyomoyo 2007-09-17 06:53:24 +00:00
parent bb02b375d0
commit 5bb8a8154e

View File

@ -745,7 +745,7 @@ class grade_report_grader extends grade_report {
if ($grade->feedbackformat == 1) {
$overlib = "return overlib('" . s(ltrim($grade->feedback)) . "', FULLHTML);";
} else {
$overlib = "return overlib('" . ($grade->feedback) . "', CAPTION, '$strfeedback');";
$overlib = "return overlib('" . s($grade->feedback) . "', CAPTION, '$strfeedback');";
}
$studentshtml .= '<span onmouseover="' . $overlib . '" onmouseout="return nd();">';