X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/7fafd0cdc53c376b557a5504af53dacdfbcdb533..0727196b6daade0ec63928fd7ab9b93b2aec47da:/invoice_send.php diff --git a/invoice_send.php b/invoice_send.php index e519132d..b9e2a293 100644 --- a/invoice_send.php +++ b/invoice_send.php @@ -32,7 +32,7 @@ import('ttInvoiceHelper'); import('ttSysConfig'); // Access check. -if (!ttAccessCheck(right_view_invoices)) { +if (!ttAccessCheck(right_view_invoices) || !$user->isPluginEnabled('iv')) { header('Location: access_denied.php'); exit(); }