X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/76dd7930c2ef4f6de65bd98acfd3d0ef25979c18..8ccdc0ed79c1703162607702c6846d2c76a7a755:/invoice_send.php diff --git a/invoice_send.php b/invoice_send.php index eb4b2a3f..ee333a62 100644 --- a/invoice_send.php +++ b/invoice_send.php @@ -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(); }