Permalink
Browse files

MDL-8080 Grade exceptions broken for teacher by invalid capability ch…

…eck.i

Thanks to Paul Ortman for the patch.
  • Loading branch information...
poltawski
poltawski committed Jun 4, 2007
1 parent 5d7ce9b commit ed289f97e5c35d959639fc56a156bf100dc1221f
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/exceptions.php
View
@@ -12,7 +12,7 @@
require_login($course->id);
- require_capability('moodle/course:managegrades', get_context_instance(CONTEXT_MODULE, $id));
+ require_capability('moodle/course:managegrades', get_context_instance(CONTEXT_COURSE, $id));
$group = get_current_group($course->id);

0 comments on commit ed289f9

Please sign in to comment.