Skip to content
Browse files

MDL-8498 Assignment - Notification of feedback e-mails to students no…

…t being sent
  • Loading branch information...
1 parent 08f4e03 commit 463b6cbe643b52d70db57ec232cd0a0a19008b9c skodak committed Feb 13, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/lib.php
View
2 mod/assignment/lib.php
@@ -1772,7 +1772,7 @@ function assignment_cron () {
continue;
}
- if (!has_capability('moodle/course:view', get_context_instance(CONTEXT_COURSE, $submission->course))) {
+ if (!has_capability('moodle/course:view', get_context_instance(CONTEXT_COURSE, $submission->course), $user->id)) {
echo fullname($user)." not an active participant in $course->shortname\n";
continue;
}

0 comments on commit 463b6cb

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