]> wagnertech.de Git - timetracker.git/blobdiff - invoice_send.php
Fixed prePopulateFromPastWeeks for week view plugin.
[timetracker.git] / invoice_send.php
index c86cebb53440961d287ef29f459215a1cbb0db06..e94e8050fd49a8a211a884f93c831f805c0e40d5 100644 (file)
@@ -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();
 }