Permalink
Browse files

Merge branch 'MDL-34376_m23' of git://github.com/merrill-oakland/mood…

…le into MOODLE_23_STABLE
  • Loading branch information...
2 parents abef93f + 383639a commit 78a4cef1e7cb7cd8872617d280f98194ec7ff109 @danpoltawski danpoltawski committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/lib.php
View
@@ -212,8 +212,8 @@ 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 = $assignment->allowsubmissionsfromdate <= $time;
if ($assignment->duedate) {
+ $isopen = $assignment->allowsubmissionsfromdate <= $time;
if ($assignment->preventlatesubmissions) {
$isopen = ($isopen && $time <= $assignment->duedate);
}

0 comments on commit 78a4cef

Please sign in to comment.