X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fclient_add.php;h=71f51ca1350e9afafc0ec99d5bff98a28576e7bc;hb=73bd55c5aaa9459806ef9fa899cc5a24513727bc;hp=e489496279bf44b5466b7116e1583097d3e352fe;hpb=e4fd9dd2dc0e3920d001b52e325b47fe0c9c65a3;p=timetracker.git 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(); }