X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fclient_add.php;h=71f51ca1350e9afafc0ec99d5bff98a28576e7bc;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=56f5d08a404b60e2e7d48c5d1573c2489e93f97d;hpb=ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b;p=timetracker.git diff --git a/mobile/client_add.php b/mobile/client_add.php index 56f5d08a..71f51ca1 100644 --- a/mobile/client_add.php +++ b/mobile/client_add.php @@ -32,7 +32,7 @@ import('ttClientHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) { header('Location: access_denied.php'); exit(); }