X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=clients.php;h=0a027b8bd1a5ad613d7bf498ddaefd9dfe0a89a6;hb=a46ca9f2c279305fc8a6c7456e23f4ef46fd6fe4;hp=61c66583b1b58c276e0083df5f72a2a3147422c4;hpb=098a79f0819ebb89b7d48df4a6b154af4560f68e;p=timetracker.git 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