]> wagnertech.de Git - timetracker.git/blobdiff - notification_edit.php
Added more access control checks.
[timetracker.git] / notification_edit.php
index 30a9d8fe33501c7d7d5c9a7d8baeb531b944ae65..cd3f41bd1841f4f9c33f5417ad5698bf934e1927 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();
 }