X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=invoices.php;h=a014472f3920c80b4e1b1d8a2de7c158978dadfd;hb=b0e8ffd3af439b5dc6dd5044a46a906d9833932b;hp=ad0b28533546d5914232f46d507a35dafefe90a4;hpb=5ef582473f6b329be18ad83c61e053fdcd9c6ed5;p=timetracker.git diff --git a/invoices.php b/invoices.php index ad0b2853..a014472f 100644 --- a/invoices.php +++ b/invoices.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_view_invoices)) { +if (!ttAccessCheck(right_view_invoices) || !$user->isPluginEnabled('iv')) { header('Location: access_denied.php'); exit(); }