X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_view.php;h=e94c04b72bba78ef28cd5d01fa1e42133ed320a8;hb=ac5189157ef60820dd125400baee9f408a9ba2ea;hp=2bb987637beeec51f3336399df1bb65d31e0baba;hpb=05b0f8e4762b8a2ca2002a8f7545b7ff68cc3925;p=timetracker.git 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(); }