projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integrated paid status in emailed reports.
[timetracker.git]
/
plugins
/
MonthlyQuota.class.php
diff --git
a/plugins/MonthlyQuota.class.php
b/plugins/MonthlyQuota.class.php
index
a42b782
..
8fff596
100644
(file)
--- a/
plugins/MonthlyQuota.class.php
+++ b/
plugins/MonthlyQuota.class.php
@@
-53,7
+53,8
@@
class MonthlyQuota {
}
// get - obtains either a single month quota or an array of quotas for an entire year.
}
// get - obtains either a single month quota or an array of quotas for an entire year.
- public function get($year, $month) {
+ // Month starts with 1 for January, not 0.
+ public function get($year, $month = null) {
if (is_null($month)){
return $this->getMany($year);
}
if (is_null($month)){
return $this->getMany($year);
}