Permalink
Browse files

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

  • Loading branch information...
merrill-oakland committed Aug 16, 2012
1 parent 007bf47 commit 710f1a344f634af23c35f3906e75ddba4409bfa2
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/assign/lib.php
View
@@ -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) {

0 comments on commit 710f1a3

Please sign in to comment.