X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5a6a33edf0ec2ac012715e12c35c7285b64c099b..3ad790a3d4bc23cb23f7ee072171ca6ef987eb56:/invoice_view.php diff --git a/invoice_view.php b/invoice_view.php index 2bb98763..e94c04b7 100644 --- a/invoice_view.php +++ b/invoice_view.php @@ -32,7 +32,7 @@ import('ttInvoiceHelper'); import('ttClientHelper'); // Access check. -if (!ttAccessCheck(right_view_invoices)) { +if (!ttAccessCheck(right_view_invoices) || !$user->isPluginEnabled('iv')) { header('Location: access_denied.php'); exit(); }