X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fclient_delete.php;h=b57e581dbc9d9b94172fd1fea0287fcc602e762e;hb=c138ab042a599beb780895e5a5f54a1b287d67ae;hp=a0caf4fe6e29badadf574d46a67dca1f28660884;hpb=ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b;p=timetracker.git diff --git a/mobile/client_delete.php b/mobile/client_delete.php index a0caf4fe..b57e581d 100644 --- a/mobile/client_delete.php +++ b/mobile/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(); }