X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5a6a33edf0ec2ac012715e12c35c7285b64c099b..3ad790a3d4bc23cb23f7ee072171ca6ef987eb56:/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(); }