]> wagnertech.de Git - timetracker.git/blobdiff - notification_add.php
More refactoring in Form.class.php.
[timetracker.git] / notification_add.php
index 80f46bb2e65b99ecb02f60799c4337e2abc5458b..05b6ce0c3ccc7e517891aa916eee2c2bc7bc4d10 100644 (file)
@@ -34,7 +34,7 @@ import('ttFavReportHelper');
 import('ttNotificationHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) {
   header('Location: access_denied.php');
   exit();
 }