projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring - white space.
[timetracker.git]
/
plugins
/
MonthlyQuota.class.php
diff --git
a/plugins/MonthlyQuota.class.php
b/plugins/MonthlyQuota.class.php
index
b50469b
..
5961a47
100644
(file)
--- a/
plugins/MonthlyQuota.class.php
+++ b/
plugins/MonthlyQuota.class.php
@@
-36,14
+36,14
@@
class MonthlyQuota {
public function getDailyWorkingHours(){
$teamId = $this->usersTeamId;
public function getDailyWorkingHours(){
$teamId = $this->usersTeamId;
- $sql = "SELECT
daily_working
_hours FROM tt_teams where id = $teamId";
+ $sql = "SELECT
workday
_hours FROM tt_teams where id = $teamId";
$reader = $this->db->query($sql);
if (is_a($reader, 'PEAR_Error')) {
return false;
}
$row = $reader->fetchRow();
$reader = $this->db->query($sql);
if (is_a($reader, 'PEAR_Error')) {
return false;
}
$row = $reader->fetchRow();
- return $row["
daily_working
_hours"];
+ return $row["
workday
_hours"];
}
private function getSingle($year, $month) {
}
private function getSingle($year, $month) {