Skip to content

Commit

Permalink
MDL-48368 course: fix xss on course request pending page
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze authored and danpoltawski committed Jan 5, 2015
1 parent da4c33f commit 52ecd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/pending.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
$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') .
Expand Down

0 comments on commit 52ecd1d

Please # to comment.