X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=quotas.php;h=ac0998c5ef799805900c04e2fa68c320ae81ca86;hb=77da39e33eb70b8b01502c09e8057dd199554de6;hp=68b8a6198756deca8cb61f369d6b593f2b33da06;hpb=fa05834dbdd4f642cac9c83773cd755ab5791e25;p=timetracker.git diff --git a/quotas.php b/quotas.php index 68b8a619..ac0998c5 100644 --- a/quotas.php +++ b/quotas.php @@ -32,7 +32,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('mq')) { header('Location: access_denied.php'); exit(); } @@ -93,7 +93,7 @@ if ($request->isPost()){ } } -// Returns monthly quotas where January is month 1, not 0. +// Get monthly quotas where for the entire year. $monthsData = $quota->get($selectedYear); $form = new Form('monthlyQuotasForm');