mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-34376 mod_assign Fixing flaw in previous commit with not defining .
This commit is contained in:
parent
007bf47f10
commit
710f1a344f
@ -213,6 +213,7 @@ function assign_print_overview($courses, &$htmlarray) {
|
||||
// Do assignment_base::isopen() here without loading the whole thing for speed
|
||||
foreach ($assignments as $key => $assignment) {
|
||||
$time = time();
|
||||
$isopen = false;
|
||||
if ($assignment->duedate) {
|
||||
$isopen = $assignment->allowsubmissionsfromdate <= $time;
|
||||
if ($assignment->preventlatesubmissions) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user