Skip to content
Browse files

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

  • Loading branch information...
1 parent 1d075ea commit 5c57df4c9dd16b0f523a890523d4f1e6f6b0636a @merrill-oakland merrill-oakland committed Aug 16, 2012
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) {

0 comments on commit 5c57df4

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