X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/f58cc6f6d6403f4eb01e4f6dfa4058afc927970c..c360da4bcfd113a87bc156e0f009e968d8a8bf07:/quotas.php diff --git a/quotas.php b/quotas.php index 52d8136f..06fdbbe5 100644 --- a/quotas.php +++ b/quotas.php @@ -33,7 +33,7 @@ import('ttTeamHelper'); import('ttTimeHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('mq')) { +if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('mq')) { header('Location: access_denied.php'); exit(); }