]> wagnertech.de Git - timetracker.git/blobdiff - invoice_send.php
Extended right set for more flexibility.
[timetracker.git] / invoice_send.php
index eb4b2a3f736ec60bbf307cffab8fabc864cfe797..ee333a622487efdc83d26fd5ccd8e7628e5589eb 100644 (file)
@@ -32,7 +32,7 @@ import('ttInvoiceHelper');
 import('ttSysConfig');
 
 // Access check.
-if (!ttAccessCheck(right_view_invoices) || !$user->isPluginEnabled('iv')) {
+if (!ttAccessAllowed('manage_invoices') || !$user->isPluginEnabled('iv')) {
   header('Location: access_denied.php');
   exit();
 }