X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/098a79f0819ebb89b7d48df4a6b154af4560f68e..30470a2fe679c83c29259328c5ad60a32ce69d3d:/invoices.php diff --git a/invoices.php b/invoices.php index f495292e..a014472f 100644 --- a/invoices.php +++ b/invoices.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_view_invoices)) { +if (!ttAccessCheck(right_view_invoices) || !$user->isPluginEnabled('iv')) { header('Location: access_denied.php'); exit(); } @@ -42,4 +42,3 @@ $smarty->assign('invoices', $invoices); $smarty->assign('title', $i18n->getKey('title.invoices')); $smarty->assign('content_page_name', 'invoices.tpl'); $smarty->display('index.tpl'); -?> \ No newline at end of file