X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/7fafd0cdc53c376b557a5504af53dacdfbcdb533..4c604b5ccea2fabc586adaa6c5b8c0fde601255c:/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(); }