X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e4fd9dd2dc0e3920d001b52e325b47fe0c9c65a3..f16c4f8b2a5b9b196fdfe46f329e54c89a861f7b:/mobile/client_add.php diff --git a/mobile/client_add.php b/mobile/client_add.php index e4894962..71f51ca1 100644 --- a/mobile/client_add.php +++ b/mobile/client_add.php @@ -32,7 +32,7 @@ import('ttClientHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cl')) { +if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) { header('Location: access_denied.php'); exit(); }