X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_send.php;h=e94e8050fd49a8a211a884f93c831f805c0e40d5;hb=4ebe6fd29283633e5ae7cdb399cc144c38af25fb;hp=c86cebb53440961d287ef29f459215a1cbb0db06;hpb=796b9e17473ca045e448b7876472bb73015247e9;p=timetracker.git diff --git a/invoice_send.php b/invoice_send.php index c86cebb5..e94e8050 100644 --- a/invoice_send.php +++ b/invoice_send.php @@ -32,7 +32,7 @@ import('ttInvoiceHelper'); import('ttUserConfig'); // Access checks. -if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_own_invoices'))) { +if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_client_invoices'))) { header('Location: access_denied.php'); exit(); }