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