mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-11084, "s in grade comments causes problems
This commit is contained in:
parent
bb02b375d0
commit
5bb8a8154e
@ -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();">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user