X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_add.php;h=01b77615e407848a9df79b74ed4931b542113d0d;hb=73bd55c5aaa9459806ef9fa899cc5a24513727bc;hp=0e752dca35d6d236329cd4a8be217659ee6ea17b;hpb=3ad790a3d4bc23cb23f7ee072171ca6ef987eb56;p=timetracker.git 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(); }