Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d075ea
)
MDL-34376 mod_assign Fixing flaw in previous commit with not defining .
author
Eric Merrill
<merrill@oakland.edu>
Thu, 16 Aug 2012 14:05:26 +0000
(10:05 -0400)
committer
Eric Merrill
<merrill@oakland.edu>
Thu, 16 Aug 2012 14:07:31 +0000
(10:07 -0400)
mod/assign/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assign/lib.php
b/mod/assign/lib.php
index
5ca8423
..
2da6610
100644
(file)
--- a/
mod/assign/lib.php
+++ b/
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) {