]> wagnertech.de Git - timetracker.git/blobdiff - time.php
More refactoring for subgroups.
[timetracker.git] / time.php
index 462389af810f2a0b9c4bd29893bbabb1653e0a5f..7e4e8adcea40d24b6f28619162ecc8cffd29f180 100644 (file)
--- a/time.php
+++ b/time.php
@@ -96,7 +96,7 @@ if ($user->isPluginEnabled('mq')){
   require_once('plugins/MonthlyQuota.class.php');
   $quota = new MonthlyQuota();
   $month_quota_minutes = $quota->get($selected_date->mYear, $selected_date->mMonth);
-  $month_total = ttTimeHelper::getTimeForMonth($user_id, $selected_date);
+  $month_total = ttTimeHelper::getTimeForMonth($selected_date);
   $minutes_left = $month_quota_minutes - ttTimeHelper::toMinutes($month_total);
   
   $smarty->assign('month_total', $month_total);