Permalink
Browse files

quiz manual grading: MDL-20706 prevent XSRF.

Uses new require_sesskey funciton from MDL-20702.
  • Loading branch information...
1 parent 9e63957 commit ae43de38e09eaab972ad18cdad6760e4a3dbab14 @timhunt timhunt committed Nov 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/report/grading/report.php
@@ -68,7 +68,7 @@ function display($quiz, $cm, $course) {
echo '<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>'; // for overlib
if ($data = data_submitted()) { // post data submitted, process it
- confirm_sesskey();
+ require_sesskey();
// now go through all of the responses and save them.
foreach($data->manualgrades as $uniqueid => $response) {

0 comments on commit ae43de3

Please sign in to comment.