X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_view.php;h=64831798b815fdf16ac3f6043702248aad494217;hb=a3d07d9fe0c01738c69c6ea37220f3feb4395912;hp=772500ef51191f0bbad9377dc6fc0c86946cf951;hpb=3c60698710dfd998fd1488c674b944f5df9b0dce;p=timetracker.git diff --git a/invoice_view.php b/invoice_view.php index 772500ef..64831798 100644 --- a/invoice_view.php +++ b/invoice_view.php @@ -33,7 +33,7 @@ import('ttClientHelper'); import('form.Form'); // Access checks. -if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_own_invoices'))) { +if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_client_invoices'))) { header('Location: access_denied.php'); exit(); }