X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=client_delete.php;h=eae300500a111c8b0ab6ec337c5556cb0d51f917;hb=21682f141034f82653bc41b56eaabdf490d5a9dc;hp=767a919e9c0a7442239abf231c374b69691749e3;hpb=5a6a33edf0ec2ac012715e12c35c7285b64c099b;p=timetracker.git diff --git a/client_delete.php b/client_delete.php index 767a919e..eae30050 100644 --- a/client_delete.php +++ b/client_delete.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttClientHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cl')) { +if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) { header('Location: access_denied.php'); exit(); }