Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

quiz manual grading: MDL-20706 prevent XSRF.

Uses new require_sesskey funciton from MDL-20702.
  • Loading branch information...
commit 593257a5aec5a37085f1474673bf358ae7f8456c 1 parent 066e898
@timhunt timhunt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/report/grading/report.php
View
2  mod/quiz/report/grading/report.php
@@ -115,7 +115,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.
$allok = true;
Please sign in to comment.
Something went wrong with that request. Please try again.