X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=client_delete.php;h=eae300500a111c8b0ab6ec337c5556cb0d51f917;hb=73bd55c5aaa9459806ef9fa899cc5a24513727bc;hp=2340db03f73de6bfb33d0bfbb47a3dfeb0f182e3;hpb=7e262c715b1aa98a098de900633a17bea4250ffc;p=timetracker.git diff --git a/client_delete.php b/client_delete.php index 2340db03..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)) { +if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) { header('Location: access_denied.php'); exit(); }