X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoices.php;h=de51b5366461cbbb7ff9eba7f58a0ad83b29c71e;hb=bbea8c35f79ef9699e4b6deab0be3c1108628ef0;hp=ba1cad4620bd5f7b90493ef2de4ec803064474f5;hpb=005295b05a6f3418db5dc3fb79fe73e2c7d01d2f;p=timetracker.git diff --git a/invoices.php b/invoices.php index ba1cad46..de51b536 100644 --- a/invoices.php +++ b/invoices.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttGroupHelper'); // Access checks. -if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_own_invoices'))) { +if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_client_invoices'))) { header('Location: access_denied.php'); exit(); }