Skip to content

Commit

Permalink
Merge branch 'MDL-34376_m23' of git://github.com/merrill-oakland/mood…
Browse files Browse the repository at this point in the history
…le into MOODLE_23_STABLE
  • Loading branch information
danpoltawski committed Aug 13, 2012
2 parents abef93f + 383639a commit 78a4cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/lib.php
Expand Up @@ -212,8 +212,8 @@ function assign_print_overview($courses, &$htmlarray) {
// Do assignment_base::isopen() here without loading the whole thing for speed // Do assignment_base::isopen() here without loading the whole thing for speed
foreach ($assignments as $key => $assignment) { foreach ($assignments as $key => $assignment) {
$time = time(); $time = time();
$isopen = $assignment->allowsubmissionsfromdate <= $time;
if ($assignment->duedate) { if ($assignment->duedate) {
$isopen = $assignment->allowsubmissionsfromdate <= $time;
if ($assignment->preventlatesubmissions) { if ($assignment->preventlatesubmissions) {
$isopen = ($isopen && $time <= $assignment->duedate); $isopen = ($isopen && $time <= $assignment->duedate);
} }
Expand Down

0 comments on commit 78a4cef

Please sign in to comment.