X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=client_add.php;h=8dbb0d86afba2f48c1e9c316df8358f93a474847;hb=3f7ed883e1c7d75aacc49900b403f8e84a68dc3f;hp=d3ca5aa9e20631596958a5c5a5fa90d5b87d7ffc;hpb=e7ecc20f1789ce0adda175aa0f70177b0f7fdb22;p=timetracker.git diff --git a/client_add.php b/client_add.php index d3ca5aa9..8dbb0d86 100644 --- a/client_add.php +++ b/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(); }