Skip to content

Commit

Permalink
MDL-27140 weeks course format - incorrect roll of dates on hidden sec…
Browse files Browse the repository at this point in the history
…tions

Credit goes to Nikhil Gupta, big thanks!
  • Loading branch information
stronk7 committed May 9, 2011
1 parent 804ebc7 commit 162bbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/format/weeks/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 162bbbe

Please sign in to comment.