X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/8f1159deac6c05f4d864cd140d9c66f007601e7e..54bb71ed8e6b7f79e3b26bc1c8a70a95793950c8:/week.php?ds=inline diff --git a/week.php b/week.php index bf237853..c1c76f9d 100644 --- a/week.php +++ b/week.php @@ -92,7 +92,7 @@ if ($user->isPluginEnabled('mq')){ require_once('plugins/MonthlyQuota.class.php'); $quota = new MonthlyQuota(); $month_quota = $quota->get($selected_date->mYear, $selected_date->mMonth); - $month_total = ttTimeHelper::getTimeForMonth($user->getUser(), $selected_date); + $month_total = ttTimeHelper::getTimeForMonth($selected_date); $minutes_left = round(60*$month_quota) - ttTimeHelper::toMinutes($month_total); $smarty->assign('month_total', $month_total);