Skip to content
Snippets Groups Projects
Commit 958d21e8 authored by Tim Steiner's avatar Tim Steiner
Browse files

Bug fix for list of report dates on approvedCourses Report

parent fcfcd69d
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,9 @@
$endDay = $now->get(Zend_Date::DAY);
$month = 9;
$year = 2007;
while ($year < $endYear || ($month < $endMonth || ($month == $endMonth && $endDay > 15))) {
while ($year < $endYear
|| ($year == $endYear && $month < $endMonth)
|| ($year == $endYear && $month == $endMonth && $endDay > 15)) {
?>
<li>
<a href="/Reports/ApprovedCourses/<?php echo $year; ?>/<?php echo $month; ?>">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment