mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-48368 course: fix xss on course request pending page
This commit is contained in:
parent
da4c33f510
commit
52ecd1de0a
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ if (empty($pending)) {
|
|||
$row[] = format_string($course->shortname);
|
||||
$row[] = format_string($course->fullname);
|
||||
$row[] = fullname($course->get_requester());
|
||||
$row[] = $course->summary;
|
||||
$row[] = format_text($course->summary, $course->summaryformat);
|
||||
$row[] = $category->get_formatted_name();
|
||||
$row[] = format_string($course->reason);
|
||||
$row[] = $OUTPUT->single_button(new moodle_url($baseurl, array('approve' => $course->id, 'sesskey' => sesskey())), get_string('approve'), 'get') .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue