Added more access control checks.
[timetracker.git] / quotas.php
index 68b8a61..d846ae2 100644 (file)
@@ -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();
 }