X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e4c40a490a8c9477cab1d41b786aa7aaa5e930d6..3222579993343da856339c1474d9d4b9a752167e:/client_delete.php 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(); }