File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 39
39
$ TBL_EXERCISES = Database::get_course_table (TABLE_QUIZ_TEST );
40
40
$ TBL_EXERCISES_QUESTION = Database::get_course_table (TABLE_QUIZ_QUESTION );
41
41
$ TBL_TRACK_ATTEMPT_RECORDING = Database::get_main_table (TABLE_STATISTIC_TRACK_E_ATTEMPT_RECORDING );
42
- Display::display_header ($ nameTools , 'Exercise ' );
42
+ Display::display_header (get_lang ( ' ViewHistoryChange ' ) , 'Exercise ' );
43
43
44
44
if (isset ($ _GET ['message ' ])) {
45
45
if (in_array ($ _GET ['message ' ], ['ExerciseEdited ' ])) {
79
79
echo '<td> ' .$ row ['question ' ].'</td> ' ;
80
80
echo '<td> ' .$ row ['marks ' ].'</td> ' ;
81
81
if (!empty ($ row ['teacher_comment ' ])) {
82
- echo '<td> ' .$ row ['teacher_comment ' ].'</td> ' ;
82
+ echo '<td> ' .Security:: remove_XSS ( $ row ['teacher_comment ' ]) .'</td> ' ;
83
83
} else {
84
84
echo '<td> ' .get_lang ('WithoutComment ' ).'</td> ' ;
85
85
}
You can’t perform that action at this time.
0 commit comments