X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/926ea063e48ed8a45dcd308b87f92abe2bfed716..b401022733a9645ed701522585b2d57db936f5cc:/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(); }