]> wagnertech.de Git - timetracker.git/blobdiff - tasks.php
Finished refactoring Turkish translation.
[timetracker.git] / tasks.php
index cf7f607cc4d9023823f96c7cab2bfc93757afb63..3ea2faaa0fb6dec831e03a7af2bd32f9aa013801 100644 (file)
--- a/tasks.php
+++ b/tasks.php
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) {
   header('Location: access_denied.php');
   exit();
 }