X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/bc45ad5e8318d2ee3182305931205d999aafe26f..270ff8df9ea85d9deb349accedfaedc2f8734251:/plugins/MonthlyQuota.class.php diff --git a/plugins/MonthlyQuota.class.php b/plugins/MonthlyQuota.class.php index b50469b3..5961a479 100644 --- a/plugins/MonthlyQuota.class.php +++ b/plugins/MonthlyQuota.class.php @@ -36,14 +36,14 @@ class MonthlyQuota { 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(); - return $row["daily_working_hours"]; + return $row["workday_hours"]; } private function getSingle($year, $month) {