X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=clients.php;h=f02d4b951c7fa558d2e714647b7e69eb17adbb52;hb=73bd55c5aaa9459806ef9fa899cc5a24513727bc;hp=0a027b8bd1a5ad613d7bf498ddaefd9dfe0a89a6;hpb=5fdf8659516ad2b07458deba8eda234e8e07c554;p=timetracker.git diff --git a/clients.php b/clients.php index 0a027b8b..f02d4b95 100644 --- a/clients.php +++ b/clients.php @@ -31,7 +31,7 @@ import('form.Form'); 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(); }