mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Assignment Module breaks MyMoodle Page MDL-6802, please test it
This commit is contained in:
parent
c008cd2fcf
commit
9731624c87
@ -2410,8 +2410,7 @@ function assignment_print_overview($courses, &$htmlarray) {
|
||||
} else {
|
||||
$str .= '<div class="info">'.$strduedateno.'</div>';
|
||||
}
|
||||
|
||||
$context = get_context_instance(CONTEXT_MODULE,$this->cm->id);
|
||||
$context = get_context_instance(CONTEXT_MODULE, $assignment->cm->id);
|
||||
if (has_capability('mod/assignment:grade', $context)) {
|
||||
|
||||
// count how many people can submit
|
||||
|
Loading…
x
Reference in New Issue
Block a user