X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=quotas.php;h=06fdbbe5a55769604f9f6d17f9880b2aa149c3d4;hb=2ccee198591bc2ad5d80b5e1076246449d9232c1;hp=52d8136fc4aa564e8617480736d18ed5b3bf7e65;hpb=f58cc6f6d6403f4eb01e4f6dfa4058afc927970c;p=timetracker.git 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(); }