Skip to content
Browse files

quiz manual grading: MDL-20706 prevent XSRF.

Uses new require_sesskey funciton from MDL-20702.
  • Loading branch information...
1 parent 066e898 commit 593257a5aec5a37085f1474673bf358ae7f8456c @timhunt timhunt committed Nov 2, 2009
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;

0 comments on commit 593257a

Please sign in to comment.
Something went wrong with that request. Please try again.