X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=clients.php;h=f02d4b951c7fa558d2e714647b7e69eb17adbb52;hb=074e8daef75c2b729e75f350b52935a6b7ecfba8;hp=6dcfe4a5663d4331708b7e978260d075baf478bc;hpb=5ef582473f6b329be18ad83c61e053fdcd9c6ed5;p=timetracker.git diff --git a/clients.php b/clients.php index 6dcfe4a5..f02d4b95 100644 --- a/clients.php +++ b/clients.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) { header('Location: access_denied.php'); exit(); }