X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/098a79f0819ebb89b7d48df4a6b154af4560f68e..0727196b6daade0ec63928fd7ab9b93b2aec47da:/clients.php diff --git a/clients.php b/clients.php index 61c66583..0a027b8b 100644 --- a/clients.php +++ b/clients.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cl')) { header('Location: access_denied.php'); exit(); } @@ -41,4 +41,3 @@ $smarty->assign('inactive_clients', ttTeamHelper::getInactiveClients($user->team $smarty->assign('title', $i18n->getKey('title.clients')); $smarty->assign('content_page_name', 'clients.tpl'); $smarty->display('index.tpl'); -?> \ No newline at end of file