Commit 4d47398b authored by Dan Poltawski's avatar Dan Poltawski
Browse files

Merge branch 'MDL-51628-28' of git://github.com/damyon/moodle into MOODLE_28_STABLE

parents f8c0d181 cce2034d
......@@ -5540,7 +5540,7 @@ class assign {
require_once($CFG->dirroot . '/mod/assign/gradingoptionsform.php');
// Need submit permission to submit an assignment.
require_capability('mod/assign:grade', $this->context);
$this->require_view_grades();
require_sesskey();
// Is advanced grading enabled?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment