X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0dfc4dda20c54e173938eaf196f8e071ce790830..a0b1d0a4dfd23d96f60c2fe03c9b3682df2fe88f:/invoice_add.php diff --git a/invoice_add.php b/invoice_add.php index f68753fc..0e752dca 100644 --- a/invoice_add.php +++ b/invoice_add.php @@ -32,7 +32,7 @@ import('ttTeamHelper'); import('ttInvoiceHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('iv')) { header('Location: access_denied.php'); exit(); }