X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/1c40fb09e97ff643c80e9b96106d891e6fdbde1b..e96a91f4cdd1bd25ffab2afdc7d90102b30a37ba:/mobile/task_edit.php diff --git a/mobile/task_edit.php b/mobile/task_edit.php index b454cbe5..c4bc9d33 100644 --- a/mobile/task_edit.php +++ b/mobile/task_edit.php @@ -32,7 +32,7 @@ import('ttTeamHelper'); import('ttTaskHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { +if (!ttAccessAllowed('manage_tasks') || MODE_PROJECTS_AND_TASKS != $user->tracking_mode) { header('Location: access_denied.php'); exit(); }