X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/05b0f8e4762b8a2ca2002a8f7545b7ff68cc3925..5af2ebe2ffdf24289dcb5adf0f87b310707eff71:/invoice_view.php?ds=inline 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(); }