X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d27b08cc3e9c657bdb361379657d185f0ea47485..a32d1441bb4b6e2cf58467f14c20f67ef0cf50c7:/plugins/MonthlyQuota.class.php diff --git a/plugins/MonthlyQuota.class.php b/plugins/MonthlyQuota.class.php index 4b036796..6e420f91 100644 --- a/plugins/MonthlyQuota.class.php +++ b/plugins/MonthlyQuota.class.php @@ -80,7 +80,8 @@ class MonthlyQuota { // If we did not find a record, return a calculated monthly quota. $numWorkdays = $this->getNumWorkdays($month, $year); global $user; - return $numWorkdays * $user->workday_hours; + return $numWorkdays * $user->workday_hours; // TODO: fix a rounding issue for small values like 0:01 + // Possibly with a database field type change (minutes?). } // getMany - returns an array of quotas for a given year for team.