Permalink
Browse files

MDL-27140 weeks course format - incorrect roll of dates on hidden sec…

…tions

Credit goes to Nikhil Gupta, big thanks!
  • Loading branch information...
1 parent 804ebc7 commit 162bbbe2f4313d6ccccb9c70944f2da9c3a93927 @stronk7 stronk7 committed May 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/format/weeks/lib.php
@@ -89,7 +89,7 @@ function callback_weeks_get_section_name($course, $section) {
foreach ($sections as $sec) {
if ($sec->id == $section->id) {
break;
- } else if ($sec->visible && $sec->section != 0) {
+ } else if ($sec->section != 0) {
$weekdate += 604800;
}
}

0 comments on commit 162bbbe

Please sign in to comment.