]> git.mjollnir.org Git - moodle.git/commitdiff
fixed sesskey bug reported by Eloy. Thanks Eloy.
authorgustav_delius <gustav_delius>
Sun, 23 Jan 2005 09:10:34 +0000 (09:10 +0000)
committergustav_delius <gustav_delius>
Sun, 23 Jan 2005 09:10:34 +0000 (09:10 +0000)
mod/quiz/question.php

index a8dc109f3df548b7a2ca481c60c57b6ed78a96ef..0369dcb7a34e510e1ca42664ae2471dcf4d91ce2 100644 (file)
                 }
          
                 notice_yesno(get_string("deletequestioncheck", "quiz", $question->name), 
-                            "question.php?id=$question->id&amp;delete=$delete&amp;confirm=".md5($delete), "edit.php");
+                            "question.php?sesskey=$USER->sesskey&amp;id=$question->id&amp;delete=$delete&amp;confirm=".md5($delete), "edit.php");
             }
             print_footer($course);
             exit;