X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e4fd9dd2dc0e3920d001b52e325b47fe0c9c65a3..b859fc87dd294eaac78be9b19e11ef823d6e23f8:/mobile/client_edit.php diff --git a/mobile/client_edit.php b/mobile/client_edit.php index ac3e60c7..fc220369 100644 --- a/mobile/client_edit.php +++ b/mobile/client_edit.php @@ -32,7 +32,7 @@ import('ttClientHelper'); 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(); }