MDL-20663 Added sesskey confirmation

This commit is contained in:
Nicolas Connault 2009-10-29 08:51:51 +00:00
parent 0c68d91621
commit 21fafca9c8

View File

@ -35,6 +35,7 @@ if (!$course = $DB->get_record('course', array('id' => $courseid))) {
}
$context = get_context_instance(CONTEXT_COURSE, $course->id);
require_login($course);
confirm_sesskey();
switch ($action) {
case 'update':