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

Fix a bug that would occasionally cause the wrong month's data to be displayed in the UCC reports.

parent 1b752f52
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ class Ucc_ReportsController extends App_Controller_Action
if (!$year && !$month) {
$startDate = new Zend_Date();
$startDate->setYear(2008);
$startDate->setMonth(9);
$startDate->setDay(15);
$startDate->setMonth(9);
$startDate->setHour(0);
$startDate->setMinute(0);
$startDate->setSecond(0);
......@@ -33,9 +33,9 @@ class Ucc_ReportsController extends App_Controller_Action
}
$startDate = new Zend_Date();
$startDate->setDay(1);
$startDate->setYear($year);
$startDate->setMonth($month);
$startDate->setDay(1);
$startDate->setHour(0);
$startDate->setMinute(0);
$startDate->setSecond(0);
......@@ -56,8 +56,8 @@ class Ucc_ReportsController extends App_Controller_Action
$startDate = new Zend_Date();
$startDate->setYear($year);
$startDate->setMonth(1);
$startDate->setDay(1);
$startDate->setMonth(1);
$startDate->setHour(0);
$startDate->setMinute(0);
$startDate->setSecond(0);
......
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