As suggested in PR#33, allowed entry of decimal values with a comma for teams with...
[timetracker.git] / invoice_delete.php
index 7db539a..41f7c19 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttInvoiceHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('iv')) {
   header('Location: access_denied.php');
   exit();
 }