Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34376 mod_assign Fixing flaw in previous commit with not defining .

  • Loading branch information...
commit 5c57df4c9dd16b0f523a890523d4f1e6f6b0636a 1 parent 1d075ea
@merrill-oakland merrill-oakland authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/assign/lib.php
View
1  mod/assign/lib.php
@@ -212,6 +212,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) {
Please sign in to comment.
Something went wrong with that request. Please try again.