Skip to content

Commit 2784168

Browse files
committed
Course progress: add remove_xss
1 parent 58a5c46 commit 2784168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/course_progress/thematic_plan.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
}
3131
}
3232

33-
echo Display::tag('h2', $thematic_data['title']);
34-
echo $thematic_data['content'];
33+
echo Display::tag('h2', Security::remove_XSS($thematic_data['title']));
34+
echo Security::remove_XSS($thematic_data['content']);
3535

3636
if (isset($message) && $message == 'ok') {
3737
echo Display::return_message(get_lang('ThematicSectionHasBeenCreatedSuccessfull'), 'normal');

0 commit comments

Comments
 (0)