X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoice_send.php;h=b9e2a29321ed17d25980d79c8d0a9bd00bf3ad62;hb=b35ed34767de056ad0adef9d85060b587c1f6ce2;hp=e519132d6ab5c934447e2925da6cf5e413f97b13;hpb=7fafd0cdc53c376b557a5504af53dacdfbcdb533;p=timetracker.git 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(); }